I am using Asciidoctor and my Aciidoctor Table of Contents is sitting on top of my document

tcowan's Avatar


27 Aug, 2023 06:07 AM

If I run asiidoctor on the same .adoc file outside of Marked 2, this does not happen. See attached HTML files.

I am using the :toc: keyword in Asciidoctor to generate my Table of Contents.

I ran brew upgrade then reran my tests. I am running

Marked 2 version 2.6.25 (1046)
Ruby version 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin22]
Asciidoctor 2.0.20 [https://asciidoctor.org
MacOS 13.4.1 (c) (22F770820d)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • toc_test_marked_after_update.html 52.5 KB
  • toc_test.html 42.1 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac