Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,如果我想在一篇文章中将一段代码称为“清单 1”,有没有办法在该代码块的末尾呈现“清单 1”?
例如:
public class Foo { } Listing 1
您可以将backtick_codeblock清单放在顶部。 这是语法。
backtick_codeblock
``` [language] [title] [url] [link text] code snippet ```
有关更多详细信息,请参阅此链接。