All Collections
Author Help
Leanpub used to allow you to use YAML at the top of a file in Markua 0.10. Why is this no longer supported in Markua 0.30?
Leanpub used to allow you to use YAML at the top of a file in Markua 0.10. Why is this no longer supported in Markua 0.30?

Keywords: YAML, strip, Markua

Leanpub Support avatar
Written by Leanpub Support
Updated over a week ago

Markua 0.10 and Markua 0.30 are built on entirely different codebases (Ruby for 0.10, and Pandoc for 0.30).
​
We have never had YAML stripping as an official feature in Markua 0.10. If you discovered YAML stripping in Markua 0.10, that was just an undocumented and unsupported feature.
​
So, we're not going to support it in Markua 0.30. Markua 0.30 is trying to be more compatible with standard Markdown (it's built on top of Pandoc and CommonMark), and the Markua 0.10 behaviour was incompatible in this regard.
​
So, for your use case, you'll either need to stick with Markua 0.10 or write a script to do some preprocessing to strip out the YAML yourself :)


If you have any feedback or questions about this article, please email the Leanpub team about it at hello@leanpub.com!

If you have any questions or thoughts on writing and self-publishing with Leanpub, please join our global community of authors in our Authors Forum here!

Are you interested in self-publishing, and creating your first Leanpub book? Here are some quick tutorials for our most popular writing modes: http://help.leanpub.com/en/articles/3088382-quick-walkthroughs-for-getting-started-on-a-leanpub-book

Are you looking for great deals on Leanpub ebooks, ebook bundles, and courses? Sign up for our Weekly and Monthly newsletter sales here!

Subscribe to our YouTube channel here: https://www.youtube.com/leanpub

Please subscribe to our YouTube channel here: https://www.youtube.com/leanpub

You can also follow Leanpub in lots of other places!

Did this answer your question?