Skip to content

Conversation

@nobu
Copy link
Member

@nobu nobu commented Feb 22, 2021

Currently a fenced code block needs a preceding blank line, it should not be required, as:
https://github.github.com/gfm/#fenced-code-blocks

A fenced code block may interrupt a paragraph, and does not require a blank line either before or after.

Just recommended:
https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks

We recommend placing a blank line before and after code blocks to make the raw formatting easier to read.

Currently a fenced code block needs a preceding blank line, it
should not be required, as:
https://github.github.com/gfm/#fenced-code-blocks
> A fenced code block may interrupt a paragraph, and does not
> require a blank line either before or after.

Just recommended:
https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks
> We recommend placing a blank line before and after code blocks
> to make the raw formatting easier to read.
@aycabta aycabta merged commit 4c2c140 into ruby:master Feb 25, 2021
@nobu nobu deleted the code-fence branch March 5, 2021 05:22
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.

2 participants