GitHub wikis和Markdown [英] GitHub wikis and Markdown
问题描述
$ b
不是整个 GitHub Flavored Markdown 可以在wiki页面中使用。
例如,在wiki中,类似于 #123
不会自动链接到当前存储库中发布123。但是,在Pull请求或内嵌评论中,这是有效的。
原始Markdown是否仍在开发中?
不是我所知道的。最新的正式版本发布日期为2004年12月17日。
为了解决一些安全问题,代码由StackOverflow团队分担,并托管在 derobins / wmd 。现在已弃用 PageDown 。
GitHub依赖 日落 ,一种基于MarkDown的本地重新实现由Natacha Porte提供的UpSkirt库。
原始的Markdown支持编程语言特定的语法高亮吗?
没有。这可能甚至被认为是MarkDown哲学的边界。
该网站确实陈述了:Markdown的目的是为了易于阅读和易于使用,但是,可读性强调高于一切,Markdown格式的文档应该可以按照原样发布,而不会看起来像标签或格式化指令所标记的那样。
GitHub通过使用 Pygments 。
Reading about the GitHub wikis, I saw that they support several lightweight markup languages including MarkDown, but I am still a bit confused about the status and features of Markdown and the version GitHub uses.
Q1. In this link: Introduction to the GitHub flavored Markdown (GFM), GitHub says they use GFM
, a special type of Markdown (MD
) for messages, issues and comments. Do they also use GFM
or regular MD
on their Wikis?
Q2 Is the original Markdown still under development?
Q3 Does the original Markdown support programming-language specific syntax highlighting?
Do they also use GFM or regular MD on their Wikis?
Not the whole GitHub Flavored Markdown can be used in the wiki pages.
For instance, in the wiki, something like #123
won't autolink to issue 123 from the current repository. However, in a Pull request or a inline comment, this works.
Is the original Markdown still under development?
Not that I know of. Lastest official release is dated December, 17 2004.
In order to fix some security issues, the code has been forked by the StackOverflow team and hosted at derobins/wmd. It's now deprecated in favor of PageDown. GitHub relies on Sundown, a native reimplementation of MarkDown based on the UpSkirt library by Natacha Porte.
Does the original Markdown support programming-language specific syntax highlighting?
No. This might even be considered as borderline against the philosophy of MarkDown.
The site indeed states "Markdown is intended to be as easy-to-read and easy-to-write as is feasible. Readability, however, is emphasized above all else. A Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions."
GitHub handles the syntax hightlighting through the use of Pygments.
这篇关于GitHub wikis和Markdown的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!