Markdown: less sign and back slash interpretation
I'm writing a README.md file on GitHub. In my project explanation I would like to refer to a Windows user path, in particular:
C:Users<username>AppDataLocal
I just see here on SO that the formatting is working fine. On Github, instead, that row is shown like this:
C:Users<username>AppDataLocal
even if the md file contains the correct format. It seems that the and the
<
are (due to some rule I don't know) simply converted into <
.
Do you have any clue why is happening?
Markdown allowd HTML entities in it, so '<' is <
, '' is eg \
(also works for me on GitHub) and '>' is
>
etc.; search for HTML special characters if you need more. you can encode verything in UTF8 easily by the notation with &#dddd;
where d stands for a digit.
unfortunately often in code segments or other interpreters it is different.
examples working in GitHub editor with preview:
C:Users<username>AppDataLocal
C:Users<username>AppDataLocal
C:\Users\<username>\AppData\Local
all result to the same output.
链接地址: http://www.djcxy.com/p/20184.html上一篇: 如何知道我的应用显示通知是否被禁用?
下一篇: Markdown:减号和反斜杠解释