Automatizar la conversión de un blog en org-mode a los formatos Html,
Markdown y Gemini usando la imagen docker alpine-org2blog y GitLab CI
#Alpine #Automate #Blog #CI #Docker #Gemini #Git #GitLab #HowTo #Html #Markdown #md2gemini #org2blog #org2gmi #org2html #org2md #orgmode #pandoc
#alpine #automate #blog #ci #docker #gemini #git #gitlab #howto #html #markdown #md2gemini #org2blog #org2gmi #org2html #org2md #orgmode #pandoc
Automatizar la conversión de un blog en org-mode a los formatos Html,
Markdown y Gemini usando la imagen docker alpine-org2blog y GitLab CI
#Alpine #Automate #Blog #CI #Docker #Gemini #Git #GitLab #HowTo #Html #Markdown #md2gemini #org2blog #org2gmi #org2html #org2md #orgmode #pandoc
#alpine #automate #blog #ci #docker #gemini #git #gitlab #howto #html #markdown #md2gemini #org2blog #org2gmi #org2html #org2md #orgmode #pandoc
@chmod777 For what it's worth, I've had acceptable results so far with #md2gemini myself: gemini://fixato.org/
And that is with the #markdown being generated through #pandoc from #asciidoc source files, via #asciidoctor's intermediate #docbook files.
You might get even better results even if your source files are markdown already. :)
#md2gemini #markdown #pandoc #asciidoc #asciidoctor #docbook
Looks like I am actually getting pretty decent results by:
converting #adoc with #asciidoc to #DocBook #xml:
asciidoc -b docbook "$input"
which I then convert to #markdown with #pandoc:
./pandoc-2.11.4/bin/pandoc --wrap=preserve -f docbook -t markdown_strict "${base}.xml" -o "${base}.md"
which I then pre-process a bit with my own #Python3 before converting it to #gemtext with #md2gemini:
md2gemini --links paragraph "${base}.md" > "${base}.gmi"
I'll post the script once I'm done.
#adoc #asciidoc #docbook #xml #markdown #pandoc #python3 #gemtext #md2gemini