降价缩进(github)
markdown indentation (github)
当我写下面的代码时,我可以在 HackMD 中看到缩进。但是我在GitHub中看不到同样的效果。我能做些什么来解决它?
<style>
p {
font-size: 16px;
text-indent: 2em;
}
</style>
GitHub doesn't allow arbitrary styles in its Markdown:
The HTML is sanitized, aggressively removing things that could harm you and your kin—such as script
tags, inline-styles, and class
or id
attributes. See the sanitization filter for the full whitelist.
您可能不得不接受它的默认呈现。
当我写下面的代码时,我可以在 HackMD 中看到缩进。但是我在GitHub中看不到同样的效果。我能做些什么来解决它?
<style>
p {
font-size: 16px;
text-indent: 2em;
}
</style>
GitHub doesn't allow arbitrary styles in its Markdown:
The HTML is sanitized, aggressively removing things that could harm you and your kin—such as
script
tags, inline-styles, andclass
orid
attributes. See the sanitization filter for the full whitelist.
您可能不得不接受它的默认呈现。