-
|
Hi, thanks for the new Asciidoc reader! I'm using pandoc 3.8.3 and would like to preserve the title when converting from Asciidoc to HTML. Is the some parameter to achieve this? For example: Expected= Hello, AsciiDoc
This is an interactive editorshould convert to <h1>Hello, AsciiDoc</h1><p>This is an interactive editor</p>Actual$ printf "= Hello, AsciiDoc\n\nThis is an interactive editor" | ./bin/pandoc -f asciidoc
<p>This is an interactive editor</p>
$ printf "= Hello, AsciiDoc\n\nThis is an interactive editor" | ./bin/pandoc -f asciidoc --shift-heading-level-by=1
<p>This is an interactive editor</p> |
Beta Was this translation helpful? Give feedback.
Answered by
jgm
Dec 1, 2025
Replies: 2 comments 1 reply
-
|
Use the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
marph91
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use the
-sflag for a standalone document.