Skip to content

README: fix block syntax according to the four-space rule#19

Open
rohieb wants to merge 1 commit intoaltercation:masterfrom
rohieb:master
Open

README: fix block syntax according to the four-space rule#19
rohieb wants to merge 1 commit intoaltercation:masterfrom
rohieb:master

Conversation

@rohieb
Copy link
Copy Markdown

@rohieb rohieb commented Jul 8, 2017

It seems that GitHub interprets the indentation here different than
other Markdown parsers, which always count multiples of four spaces as
indentation. GitHub also accepts three spaces as indentation for the
list item. To be compatible with other Markdown implementations, apply
the four-space rule.

The code block here is inside a list block, so it must be indented by
four spaces more than the list block.

It seems that GitHub interprets the indentation here different than
other Markdown parsers, which always count multiples of four spaces as
indentation. GitHub also accepts three spaces as indentation for the
list item. To be compatible with other Markdown implementations, apply
the four-space rule.

The code block here is inside a list block, so it must be indented by
four spaces more than the list block.

Signed-off-by: Roland Hieber <rohieb@rohieb.name>
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.

1 participant