rust-lang / mdBook

Create book from markdown files. Like Gitbook but implemented in Rust
https://rust-lang.github.io/mdBook/
Mozilla Public License 2.0
18.11k stars 1.63k forks source link

Markua support #699

Open nsrosenqvist opened 6 years ago

nsrosenqvist commented 6 years ago

LeanPub is moving towards supporting and encouraging writing books in Markua. Are there any plans to support it in mdbook?

Michael-F-Bryan commented 6 years ago

We currently use pulldown-cmark for rendering markdown, which is designed to be compliant with the commonmark spec. So far mdbook has been mainly focused on rendering markdown documents, but markua looks like it's close enough to markdown that most things should still render fine.

I think it'd be cool if mdbook had the ability to work with different input formats (e.g. markua, asciidoc, Restructured text), but because I don't have a use case for it at the moment, someone else would probably need to champion it.

killercup commented 6 years ago

Link to the markua spec: https://leanpub.com/markua/read and its source: https://github.com/markuadoc/markua