Skip to content

Easiest way to convert asciidoc to qmd? #11615

Closed Answered by cod3licious
cod3licious asked this question in Q&A
Discussion options

You must be logged in to vote

Well, far from perfect, but this command seems to be a good start:

asciidoctor -b docbook -a leveloffset=+1 -o - README.adoc | \
pandoc --wrap=preserve -t markdown_strict -f docbook - > README.md

(see also here)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@cod3licious
Comment options

@mcanouil
Comment options

mcanouil Dec 5, 2024
Collaborator

Comment options

You must be logged in to vote
0 replies
Answer selected by cod3licious
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants