有任何方法可以减少作为标题文件中的标头显示的部分文本的大小吗?

问题描述 投票:0回答:1

我正在格式化github上的readme.md文件的文本。我想要标题的一部分[样式为标题1],以减小尺寸并在该标题下方以美化整体外观。

Here is how the text looks right now: enter image description here

我想要这部分“又是一个---------------模型”,将在主标题下方显示,并且与该主要标题相比,大小较小。 TensorFlow Implementation of XYZ'.

This is how I want it to be: enter image description here

I searched about the same but couldn't find anything supporting my question. Also, I just started using GitHub and I'm exploring around starting with Text formatting in the markdown files.而且,是的,这是我在堆栈溢出上的第一个问题。

非常期待听到答案。任何小帮助都将不胜感激!

github version-control markdown text-formatting
1个回答
1
投票
这是CSS将要解决的样式问题。 GitHub不允许CSS出于安全性,可访问性和设计原因而在网站上渲染的其他文档中使用,因此这不是您可以做的事情。 您需要以标准的,语义上有意义的方式写下您的降价(或其他标记语言,例如Asciidoc),然后将其呈现在GitHub或其他情况下,因为给定的工具呈现它。

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.