Why the md syntax on github is different from that shown in the vscode,csdn online md editor

same md code, task list, as follows:

-sharp React-NewsWebsite
website



- [x] todo1
- [ ] todo2
- [x] todo3

Preview included with vscode, alt+shift+v, does not display correctly

clipboard.png

github:

clipboard.png

Why? Different compilers? So how do I display the effect of the to-do list I want on vscode?

(I know that < del > todo < / del > this middle line effect is OK)

Mar.22,2021

markdown has different rules. You can see whether vscode can set different parsing rules of github style


and md style


. If you look carefully at Baidu, you will find that markdown rules are different, and multiple platforms may have different markdown rules

.
Menu