Git 要点 - Markdown 不起作用

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8717740/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 12:37:47  来源:igfitidea点击:

Git gist - Markdown does not work

gitmarkdowngist

提问by Tarun

I am not able to get Markdown work in a gist. My post is available here.

我无法在要点中使用 Markdown 工作。我的帖子可以在这里找到

Notice that the same Markdown works when I add a comment.

请注意,当我添加评论时,同样的 Markdown 工作。

What did I miss?

我错过了什么?

回答by KL-7

Github uses file extension to recognize file type. In order to use Markdown in your gist it should have appropriate .markdown(or .md) extension. See this.

Github 使用文件扩展名来识别文件类型。为了在你的 gist 中使用 Markdown,它应该有适当的.markdown(或.md)扩展名。看到这个