Automattic/jetpack

Markdown block: Parsing issues and inconsistencies

Open

#11,881 opened on Oct 12, 2018

 (10 comments) (4 reactions) (0 assignees)PHP (877 forks)user submission
BugEpicGood For CommunityHacktoberfest[Feature] Markdown[Focus] Blocks[Pri] Low

Repository metrics

Stars
 (1,808 stars)
PR merge metrics
 (Avg merge 4d 5h) (645 merged PRs in 30d)

Description

In testing how elements are recognized and parsed in our Jetpack Markdown block for Gutenberg, we've discovered several issues and inconsistencies so far.

This is a master issue for all of them, feel free to add any others that you find.

  • Footnotes / reference links differences -- #30149
  • Images with alts and titles not supported
    • Reported by @jeherve in p1HpG7-5EW-p2 #comment-27928
  • Single empty lines are omitted
    • Reported by @Stojdza in p1HpG7-5EW-p2 #comment-27911
    • Reported by @carladoria in p58i-7sR-p2 #comment-40539
    • Reported by @reginabally in p58i-7sR-p2 #comment-40610
  • Alternative heading syntax parsed incorrectly on iPad Pro
    • Reported by @eliorivero in p1HpG7-5EW-p2 #comment-27968
  • Code block not properly styled
    • Reported by @carladoria in p58i-7sR-p2 #comment-40539

Contributor guide