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.
在涂鸦中,当我将两个破折号(甚至三个破折号)放在一起时,例如--,它会变成一个长破折号。如何让涂鸦将它们保留为两个短破折号,例如在此文档页面中?
--
我的最终目标是能够将它们变成命令的标志,例如-hand --。
-h
verbatim确实将破折号分开,但它也会更改字体,并创建一个我不想要的新段落。
verbatim
如果您的唯一目标是为命令行标志添加文档,例如-hand --,那么您可以使用以下命令:
DFlag
Flag
第一个会给你--更长的标志,第二个会给你-更短的标志。他们还将更改字体以匹配文档的终端字体。
-