I want to convert text written in Markdown
to Rich Text
on Ubuntu 13.04. I could not find any solution on the web, except for one Mac OS X script.
How can I do that on Ubuntu 13.04? Preferably in the browser.
P.S. I don't need it the other way, the text gets always written in Markdown
and needs to get transformed to rich text.
Best Answer
One alternative is http://johnmacfarlane.net/pandoc/ which is in the repos,
Then you can take your markdown file and convert it to rtf, or a variety of other formats with,
The
-s
switch is for standalone, so that it doesn't just create an rtf fragment. There are also a variety of other useful switches such as-S
for smart quotes. I use it all the time to create epub and pdf files.It would also be a good idea to check out the documentation on their site, since the pandoc markdown format supports several extensions.