What is the syntax for storing a comment in a markdown file, e.g. a CVS $Id$ comment at the top of the file? I found nothing on the markdown project.
相关问题
- What does an “empty line with semicolon” mean in C
- Markdown to clipboard as rich text
- Is it possible to put only one option on a ternary
- Fixing Markdown styling in Notepad++
- Using XPath to access comments a flat hierachy
相关文章
- >>" markdown 引用语法" href="https://www.manongdao.com/article-2318498.html" > 有没有办法让 markdown-it 支持 ">>>" markdown 引用语法
- Is there a Github markdown language identifier for
- What is the meaning of this syntax?
- markdown自动代码缩进8格?
- How can I write-protect the Matlab language?
- Can you import/reference info from text files into
- 请问如何使用 C# 或是 regex 抓取出 markdown 内的图片链接呢 ?
- Why the enum constants must be declared before any
Disclosure: I wrote the plugin.
Since the question doesn't specify a specific markdown implementation I'd like to mention the Comments Plugin for python-markdown, which implements the same pandoc commenting style mentioned above.
This works on GitHub:
The resulting HTML looks like:
Which is basically an empty link. Obviously you can read that in the source of the rendered text, but you can do that on GitHub anyway.
Also see Critic Markup, supported by an increasing number of Markdown tools.
http://criticmarkup.com/
kramdown—the Ruby-based markdown engine that is the default for Jekyll and thus GitHub Pages—has built-in comment support through its extension syntax:
This has the benefit of allowing in-line comments, but the downside of not being portable to other Markdown engines.
I use standard HTML tags, like
Note the triple dash. The advantage is that it works with pandoc when generating TeX or HTML output. More information is available on the pandoc-discuss group.
Vim Instant-Markdown users need to use