Skip to content

Instantly share code, notes, and snippets.

@SMotaal
Last active July 7, 2019 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SMotaal/48e2feb1147a8856386866a0bea9b5d7 to your computer and use it in GitHub Desktop.
Save SMotaal/48e2feb1147a8856386866a0bea9b5d7 to your computer and use it in GitHub Desktop.
Mysteriously Markdown
  • Tokenizing works normally after fenced html block that is empty.

<content></content>
  • Tokenizing works normally after fenced html block that has just content.

<content><!-- expect this comment to not break anthing --></content>
<!-- expect this comment to not break anthing -->
  • Tokening works normally after fenced html block that has both content and comments.

<content></content>
``` <!-- expect this comment to not break anthing -->

- [ ] Tokenizing works normally after fenced `html` block that is empty.

Appending content next to the closing fence appears to break its semantics to fenced content instead of fenced content delimiter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment