You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Marker to lay out a definition-list-type presentation, with entries like so:
**answer**: Clue text
And it's working fine for the most part, but the following case fails to render correctly:
**myrtle**: ___ Beach
(There's three underscores there for the blank, with a single space before and after.)
Instead of producing 'myrtle' in bold, the line renders as written, with the asterisks present in the output instead.
Markdown: **myrtle**: ___ Beach
Expected result: myrtle: ___ Beach
Observed result: **myrtle**: ___ Beach
I tried entering the string in a couple of online Markdown editors (to confirm that the string is valid), and they both rendered it correctly with 'myrtle' in bold and the underscores intact (as it does above).
I did a little experimenting and found that a single underscore works fine, but two or more causes the issue, and the blank causes trouble no matter where it appears in the string -- before or after the bold word, adjacent or not.
Let me know if you need any additional details -- thanks!
The text was updated successfully, but these errors were encountered:
Not too surprising, I guess, but it looks like the issue is that the parser is treating the first two underscores of the blank as the beginning of a tag and is throwing an unclosedTags exception since it doesn't find another __ to close it. If I try it with four underscores, it treats the whole thing as an empty emphasis block and produces something like so, with the four underscores replaced with a single space:
Using backslashes to escape the underscores works for me; not sure if that's a fix or a workaround (hard to say for sure since the Markdown grammar is somewhat ambiguous), but that's at least got me unstuck. Feel free to close this one out if the current behavior is by design or if you don't think it's worth changing.
I'm using Marker to lay out a definition-list-type presentation, with entries like so:
**answer**: Clue text
And it's working fine for the most part, but the following case fails to render correctly:
**myrtle**: ___ Beach
(There's three underscores there for the blank, with a single space before and after.)
Instead of producing 'myrtle' in bold, the line renders as written, with the asterisks present in the output instead.
**myrtle**: ___ Beach
I tried entering the string in a couple of online Markdown editors (to confirm that the string is valid), and they both rendered it correctly with 'myrtle' in bold and the underscores intact (as it does above).
I did a little experimenting and found that a single underscore works fine, but two or more causes the issue, and the blank causes trouble no matter where it appears in the string -- before or after the bold word, adjacent or not.
Let me know if you need any additional details -- thanks!
The text was updated successfully, but these errors were encountered: