Example 16 is potentially confusing

However, no other characters may occur at the end or the beginning:

Example 16

_ _ _ _ a
a------

This seems overly specific. Why not “no other characters may appear in the line”, with a third example:

--- a ---

Or is this allowed?

1 Like

The spec doesn’t need to stand alone. You can (should) use the dingus at http://jgm.github.io/stmd/js/ to answer this kind of question. That said I’ll try to add some specifics…

--- a ---

is allowed, it’s just not interpreted as a horizontal rule.

Good comment. I’ve improved the example.

1 Like