Document whitespace control
Opened this issue · 0 comments
trombonehero commented
Thanks very much for ACE: it's much nicer using these templates in Hugo than the default Go ones.
When constructing paragraphs, the existing syntax documentation doesn't show how to insert whitespace between elements. For instance, this:
p
| This is a
b very
| important sentence.
will be rendered as:
This is averyimportant sentence.
If I change the ACE input a little bit:
p
| This is a
b very
| important sentence.
i.e., with an extra space at the end of "This is a" and at the beginning of "important sentence", then I get the text rendered the way I was hoping for:
This is a very important sentence.
So, could you add this hint to the syntax documentation? I found this out by looking at what Jade does (pipe + two spaces), trying that in ACE and then working backwards. :)