Skip to content

Double indent code blocks to resolve list numbering - #763

Merged
stkent merged 1 commit into
exercism:masterfrom
Stargator:fix-numbering
Sep 3, 2017
Merged

stkent merged 1 commit into
exercism:masterfrom
Stargator:fix-numbering

Conversation

@Stargator

@Stargator Stargator commented Sep 2, 2017 •

Copy link
Copy Markdown
Contributor

Markdown syntax states code blocks should be double indented in order for the numbering in the lists to continue.

Seeing as how the Java Installation and Tests page had numbered lists that were broken. I opted to fix them. The issue is discussed here for v2 of exercism. I am checking the v1 pages to see what are affected by this.

As you can see the current rendering of the Installation page has the numbering thrown off. This should fix that.

java-numbering


Reviewer Resources:

Track Policies

@stkent

stkent commented Sep 2, 2017

Copy link
Copy Markdown
Contributor

Thanks for the PR!

The double indent is normally required if you are relying on the second indent to trigger code-like formatting; however, these examples are already wrapped in GFM-style code fences, so I'm surprised this change is required.

However, as long as it looks good when rendered, then 🤷‍♂️ ⛴

@Stargator

Copy link
Copy Markdown
Contributor Author

@stkent Yeah, it's really because of how red-carpet does it. While GitHub flavored is more lenient.

@stkent
stkent merged commit 9c7bb87 into exercism:master Sep 3, 2017
@Stargator
Stargator deleted the fix-numbering branch September 3, 2017 13:45
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