You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to use ":doctype: book" but it is giving some problem.
= My Book
:doctype: book //<1>
:toc:
:toc-title: Table of Contents of {doctitle}
:toclevels: 1
:sectnums:
:sectnumlevels: 1
:imagesdir: _assets/images
:compat-mode!:
:leveloffset: +1
include::Hello World.adoc[]
include::Elements.adoc[]
include::Macros.adoc[]
:leveloffset: -1
With the following Header the document looks like
My Book
link:Hello World.adoc[]
Elements.adoc
Macros.adoc
The TOC is not generated
If i remove <1> it works as expected
My Book
Table of Contents of My Book
1. Hello World
2. Elements
3. Macros
1. Hello World
....... The content works here
2. Elements
....... The content works here
.
.
.
I actually compiled the main file with asciidoctor.
asciidoctor _Book.adoc
There is no problem with asciidoctor. It also works fine with VS code. The problem seems to be with AsciidocFX only.
The text was updated successfully, but these errors were encountered:
I need to use ":doctype: book" but it is giving some problem.
With the following Header the document looks like
The TOC is not generated
If i remove <1> it works as expected
I actually compiled the main file with asciidoctor.
asciidoctor _Book.adoc
There is no problem with asciidoctor. It also works fine with VS code. The problem seems to be with AsciidocFX only.
The text was updated successfully, but these errors were encountered: