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

Indentation is removed from triple-backtick code blocks #364

Open
oantolin opened this issue May 12, 2020 · 0 comments
Open

Indentation is removed from triple-backtick code blocks #364

oantolin opened this issue May 12, 2020 · 0 comments

Comments

@oantolin
Copy link

oantolin commented May 12, 2020

There are two ways to write code blocks in StackExchnge sites:

  • Original Markdown syntax: indent each line by four spaces
  • GitHub-Flavored Markdown syntax: put the code block within triple-backquotes.

The 4-space indented blocks display correctly in sx.el, but the triple-backquoted ones lose their whitespace and get crammed into just a few lines. This question has two answers each using a different syntax for the block and you can see the difference if you visit it in sx.el: question with two types of code block.

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

1 participant