问题描述
我想在一个减价文件中输入以下句子:她说< h1>
很大。我可以在StackOverflow中使用h1附近的三个反引号,但这不适用于.md文件。我还尝试了单一的反引号,单引号,双引号,hashtags,间距,< code> h1< / code>
以及其他所有我能想到的内容。有没有办法做到这一点?
您可以转义<
字符替换为& lt;
,这是<
的HTML转义序列。你会被判刑:
她说& lt; h1>是大
另外, ...这意味着,如果您在将它们置于反引号时仍然收到了标签,则您使用的任何呈现器都不是合规(只要符合要求与该文档),并且您可能想要提交错误。 I want to type the following sentence in a markdown file: she says You can escape the As a side note, the original Markdown "spec" has the following to say: ...which means that, if you're still getting tags when putting them in backticks, whatever renderer you're using isn't "compliant" (to the extent that one can be compliant with that document), and you might want to file a bug. 这篇关于如何在没有呈现的降价文件中键入html?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!<h1>
is large. I can do it in StackOverflow with three backticks around h1, but this doesn't work for a .md file. I've also tried a single backtick, single quote, double quote, hashtags, spacing, <code>h1</code>
and everything else I could think of. Is there a way to do this?<
characters by replacing them with <
, which is the HTML escape sequence for <
. You're sentence would then be:she says <h1> is large