Skip to content

Fix indentation of hidden code blocks #284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 18, 2017
Merged

Conversation

budziq
Copy link
Contributor

@budziq budziq commented May 17, 2017

Hidden code blocks are no longer indented with
one additional space (required for doctests to compile in some cases)
Now the behavior is similar to the rustdoc's

Please note that I have zero experience with js so I am really open to criticism here ;)

resolves https://github.com/azerupi/mdBook/issues/281

Hidden code blocks are no longer indented with
one additional space (required for doctests to compile in some cases)
Now the behavior is similar to the rustdoc's
@azerupi azerupi merged commit 379ed9d into rust-lang:master May 18, 2017
@azerupi
Copy link
Contributor

azerupi commented May 18, 2017

Looks good to me :)
Thanks for the patch!

@budziq budziq deleted the indentation branch May 18, 2017 07:37
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.

Indentation of # hidden code
2 participants