Vscode-markdown: can't show binary tree structure

Created on 30 Jul 2018  路  2Comments  路  Source: yzhang-gh/vscode-markdown

What is the problem?

The preview mode can't display a binary tree well.
For example, type the following pure text in a markdown file, and check the preview result.

  5
 / \
4   8

/ / \
11 13 4
/ \ \
7 2 1

How can I reproduce it?

see the discription
check the picture attached.

Is there any error message in the console?


Not
mk

Question Needs TagFix Answered

Most helpful comment

Markdown will be converted to HTML when previewing. And HTML just treat multiple spaces as one space. That's the reason why you get this result.

If you expect the same visual effect as your code, you need to use code block ```.

All 2 comments

Markdown will be converted to HTML when previewing. And HTML just treat multiple spaces as one space. That's the reason why you get this result.

If you expect the same visual effect as your code, you need to use code block ```.

oh, yes, correct. When I copy back from HTML to VS Code, I see ``` is missing.

Was this page helpful?
0 / 5 - 0 ratings