marijnh/CodeMirror2 — Issue #345: Em/Strong Not Being Parsed in #Header
Author: bfrohs
Created: 2012-02-02 15:08:43+00:00
State: open

When defining a header with `#` followed by the header text, `em`/`strong` do not get processed (or anything else, if applicable). As far as I can tell, this is due to skipping the pointer to the end of the block (with `stream.skipToEnd()`) to process the styling, but the pointer is never returned to check for inline styling.

`# Test *italics* here` should appear as (well, `*` should be ital as well, but github parser is limited):

# Test \**italics*\*

Instead, it appears as:

# Test \*italics\*

This is overcome in quotes by not styling the quote (ergo, not moving the pointer to the end), and only styling the `>` (which is also very limiting).

***Note:** If no work can be done on this issue, I'm sure I'll end up doing it, but just in case I can't, or I forget to push the change over, I wanted this to be documented.*