如何跨越 .adoc 文件中的多行标题?
How to span a heading over multiple lines in a .adoc file?
Asciidoc 忽略段落中的换行符:
These lines
are actually
in the same paragraph
=>
These lines are actually in the same paragraph
但是,它不会对标题执行此操作:
=== long heading
that I would like to
span over multiple lines
in the .adoc file
=>
long heading
that I would like to
span over multiple lines
in the .adoc file
但我想要这个:
long heading that I would like to span over multiple lines in the .adoc file
那么如何在文件的多行上放置一个标题?
Asciidoc 语法中的文档和章节标题必须出现在一行中。
如果您需要影响标题的呈现方式,您可以尝试在标题中的适当位置插入 <br>
标签,如下所述:https://geekmusthave.com/?p=3160
这确实不可能。但是这里有一些关于可能的解决方法或功能请求的有用讨论:https://github.com/asciidoctor/asciidoctor/issues/3627
Asciidoc 忽略段落中的换行符:
These lines
are actually
in the same paragraph
=>
These lines are actually in the same paragraph
但是,它不会对标题执行此操作:
=== long heading
that I would like to
span over multiple lines
in the .adoc file
=>
long heading
that I would like to span over multiple lines in the .adoc file
但我想要这个:
long heading that I would like to span over multiple lines in the .adoc file
那么如何在文件的多行上放置一个标题?
Asciidoc 语法中的文档和章节标题必须出现在一行中。
如果您需要影响标题的呈现方式,您可以尝试在标题中的适当位置插入 <br>
标签,如下所述:https://geekmusthave.com/?p=3160
这确实不可能。但是这里有一些关于可能的解决方法或功能请求的有用讨论:https://github.com/asciidoctor/asciidoctor/issues/3627