gist-markdown-preview
gist-markdown-preview copied to clipboard
Code-block text issue
When I write code-blocks in a gist which are part of an indented text, it displays differently in the preview than in the final rendered view. In the preview, the indentations are interpreted wrongly (seems not indented), while the code block itself is aligned correctly to the list. In the rendered version the code block is aligned to the left and the code indentations are as they written in src.
Example:
- list
- more list
{
{
code block example in a list
}
}
@libesz Could you check whether this is working fine in marked.js
Actually it produces a third printout 😄 . It renders the code block text into a single line in the output.