yoshiri / markdowntoasciidoc Goto Github PK
View Code? Open in Web Editor NEWTest project for markdown to asciidoc conversion
Test project for markdown to asciidoc conversion
ブログでコメントした者です。Pandocでのadocへの変換について、いくつかはmarkdown側の書き方の問題と思われる箇所があったため、sample.mdを更新したものを後ほどPR出しますので、ご参考になればと思います。
PRには変換したsample_pandoc.adocも含めています。本commitではsample.mdに対して以下の対応をしています。
...
について前後に半角空白を入れています。また、以下はPandoc側の問題であることが分かっており、ファイルやオプションの変更では対応できないとみています。
<s>
タグなどは対応できないです。--shift-heading-level-by=-1
すると消え、titleとしても保存されない変換に使用したコマンドは以下のとおりです。
pandoc sample.md -o sample_pandoc.adoc --shift-heading-level-by=-1
asciidoctor sample_pandoc.adoc
使用したPandocのバージョンは、
> pandoc --version
pandoc 2.11
Compiled with pandoc-types 1.22, texmath 0.12.0.3, skylighting 0.10.0.2
asciidoctor のバージョンは
> asciidoctor --version
Asciidoctor 2.0.10 [https://asciidoctor.org]
Runtime Environment (ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)
です。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.