asciidoc - 如何跨越 .adoc 文件中的多行标题?
问题描述
Asciidoc 忽略段落中的换行符:
These lines
are actually
in the same paragraph
=>
这些行实际上在同一段中
但是,它不适用于标题:
=== long heading
that I would like to
span over multiple lines
in the .adoc file
=>
长航向
我想跨越 .adoc 文件中的多行
但我想要这个:
我想跨越 .adoc 文件中的多行的长标题
那么如何在文件的多行上放置一个标题呢?
解决方案
Document and section titles in Asciidoc syntax must appear on a single line.
If you need to influence the presentation of the title, you might try inserting <br>
tags at the appropriate locations in the title, as described here: https://geekmusthave.com/?p=3160
推荐阅读
- recurrent-neural-network - 寻找使用哪种模型(RNN或其他东西)的问题?
- azure-web-app-service - WebApp 私有端点 azure vpn
- reactjs - 使用 Papaparse 加载大型 CSV 文件不起作用(仅加载第一个块)
- python - 用正则表达式提取德语单词
- iphone - iPhone 上的数字商品市场
- webpack - Sass with Webpack 中的 FontAwesome 图标不显示
- python - 'OnlineClassSerializer' 对象没有属性 'onlineClassItems_set'
- google-apps-script - 谷歌应用脚本在调试模式下运行,而不是在运行模式下
- numpy - 使用 TensorFlow 对 numpy 数组进行混洗的不一致行为
- reactjs - 在 react-app 中关闭 razorpay 支付窗口后,垂直滚动条消失