Closed martinklepsch closed 9 years ago
That is correct. Emphasis markers have to be preceded by a blank.
Interesting. I didn't know. How does one achieve something like (this is bold then? Apparently Github Flavoured Markdown supports it.
Yes, GFM has a lot of changes. Some good, some not so much. For example, I recently found out that you can indent nested lists with just one space for second level, and two spaces for the third.
It is changing an already loose spec for Markdown in areas where it isn't that critical.
Forgot to answer your question:
(<strong>test</strong>
See:
(test
As far as I can tell, CommonMark supports this: http://spec.commonmark.org/0.22/#example-355
It looks like the most complete markdown specification.
There's a testcase here: https://github.com/martinklepsch/pegdown/commit/aa36ef5a779f093b02b8cd9e5cda93c770170782
Somehow parsing
(**this** ...
will not properly turnthis
into a StrongEmphSuperNode.