Hacker News new | ask | show | jobs
by cratermoon 1080 days ago
Just make it so that literal * has to be escaped, and use a greedy parse.

*foo* always means * followed by , and the closing * is missing and would be flagged.

<string><em>foo</em>... uh oh missing a closing *, can't parse

Oh boy, HN mangled this. I'm leaving it as an examplar

1 comments

You can show string-literal text without HN's markup interpolation by indenting the start of the line by two characters:

  You can show string-literal text *without* HN's markup interpolation by indenting the start of the line by two characters: