asciidoc部分标题不起作用

时间:2017-09-05 17:45:19

标签: asciidoc spring-restdocs

我有以下asciidoc,我希望有多个章节标题。

= REST API
== Token
Tokens are used for making authenticated requests to the API.
=== Getting a token
This is how you get a token

但最终看起来像这样,第二部分标题(令牌)不起作用。

enter image description here

1 个答案:

答案 0 :(得分:0)

解决方案是在每个部分之间插入换行符

= REST API

== Token

Tokens are used for making authenticated requests to the API.

=== Getting a token
This is how you get a token