Skip to content

Commit

Permalink
Add attributes to asciidoc
Browse files Browse the repository at this point in the history
- :partnums: Book parts are assigned roman numerals when the attribute partnums is set.
- :sectnums: If set, numbers sections to depth specified by sectnumlevels(default 3).
- :sectlinks: Turns section titles into self-referencing links.
- :!compat-mode: use the new Asciidoctor syntax
  • Loading branch information
hirotnk authored and happi committed Apr 22, 2020
1 parent 1b4b71d commit 0782ede
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions book.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
:toclevels: 3
:experimental:
:icons: font
:partnums:
:sectnums:
:sectlinks:
:!compat-mode:

include::chapters/preface.asciidoc[]

Expand Down

0 comments on commit 0782ede

Please sign in to comment.