Skip to content

fix(md): require 4 spaces for indented code blocks#1398

Open
Ayoub-Mabrouk wants to merge 1 commit intogoogle:mainfrom
Ayoub-Mabrouk:fix/markdown-indented-code-block-spacing
Open

fix(md): require 4 spaces for indented code blocks#1398
Ayoub-Mabrouk wants to merge 1 commit intogoogle:mainfrom
Ayoub-Mabrouk:fix/markdown-indented-code-block-spacing

Conversation

@Ayoub-Mabrouk
Copy link
Contributor

Fix markdown parser to require 4 spaces (per CommonMark spec) instead of 2 for indented code blocks.
This prevents syntax errors when parsing markdown files with 2-space indented list item paragraphs.

Fixes #1388

Fix markdown parser to require 4 spaces (per CommonMark spec) instead
of 2 for indented code blocks. This prevents syntax errors when parsing
markdown files with 2-space indented list item paragraphs.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: cannot parse indented content

1 participant