Backtick Hickup
Jacob Rus
jacobolus at gmail.com
Mon Aug 20 17:45:10 EDT 2007
John MacFarlane wrote:
> If the suggestion is that the lexer is going to identify '**' as
> a "strong emphasis marker" and '*' as an "emphasis marker," prior
> to any parsing, I don't see how that's possible. Consider
>
> ***bold** in italics*
>
> ***italics* in bold**
>
> There's no way of knowing whether the initial two *'s should start
> strong emphasis unless you scan forward.
I really don't see why it can't recognize *** as a unique token, and
figure out how to do the right thing by just adding a few more rules.
This doesn't seem like an insoluble problem to me.
-Jacob
More information about the Markdown-Discuss
mailing list