Skip to content
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

Rendering of code blocks within lists and number of whitespaces mismatch #76

Open
edubrito opened this issue May 26, 2019 · 2 comments
Open

Comments

@edubrito
Copy link

edubrito commented May 26, 2019

Several markdown renderers, like the one from Retext or Bitbucket, seem to require that the indentation of bulleted lists be in multiple of 4 spaces, the same applying for code blocks within lists. They render incorrectly if not. I'm using tidy-markdown in Atom, and it enforces multiple of 2 spaces, instead of 4. There is no setting to change it.

The rendering is fine in the markdown preview that I'm using in Atom, but not on external viewers, like Retext or Bitbucket, when the the markdown is formatted by tidy-markdown.

The requirement of indenting by multiples of 4 spaces is mentioned here:
https://meta.stackexchange.com/a/7837

Please change the default indentation to 4 spaces for both nested-lists and fenced code blocks indented within such lists.

@edubrito
Copy link
Author

An example of how the fenced code blocks get a strange formatting is also reported here.

@atschwarz
Copy link

@edubrito Hi, maybe you have more luck with your request by creating an issue here. As noted in README.md this atom plugin uses internally tidy-markdown and as long as you aren't able to specify the number of spaces used for indention there, this plugin will not adopt an appropriate configuration option.

Best regards,
Andi

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

No branches or pull requests

2 participants