Skip to content

Commit

Permalink
node-editor: Make the help more helpful
Browse files Browse the repository at this point in the history
I struggled to remember how newlines vs strings work in
this format, so put it in the docs.
  • Loading branch information
Matthias Clasen committed Jul 15, 2022
1 parent 2cbb955 commit 69336fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demos/node-editor/node-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Each node has its own `<node-name>` and supports a custom set of properties, eac

When serializing and the value of a property equals the default value, this value will not be serialized. Serialization aims to produce an output as small as possible.

To embed newlines in strings, use \A. To break a long string into multiple lines, escape the newline with a \.

# Nodes

### container
Expand Down

0 comments on commit 69336fa

Please sign in to comment.