Snippet to create lists quickly

Hi all,

If you like using lists in Text Blaze, here's a snippet to help you create them quickly.

Just add the list items (one per line) in the paragraph field, put the name of your list in the text field, and the snippet will give you the syntax to use.

Remember that if you want to use spaces in your list name, you'll need to put it in backticks.

You could also modify this to create keyed lists or "lists of lists", but I think this is the most common use case, so I'll leave it at that.

Let me know if you have questions.

{note}
{formparagraph: name=content; cols=50; rows=5; default=
Item 1
Item 2
Item 3}
{formtext: name=listname; default=list}
{output=concat("{", listname, "=", split(content, "\n"), "}")}

{endnote}
{=output}