bell notificationshomepageloginNewPostedit profile

Topic : Best markup language for a little story? I'm writing a story in plain text using Vim text editor. It doesn't contain big tables, images. However, there will be short listings of source code - selfpublishingguru.com

10.03% popularity

I'm writing a story in plain text using Vim text editor. It doesn't contain big tables, images. However, there will be short listings of source code in several programming languages and syntax highlighting for them is a must. There may be a little amount of formulas. I want to publish it in HTML and PDF.

Is there simple(!) markup language for this? What is better: embed formulas as images or use special markup? I don't want to learn something complex like LaTex.


Load Full (3)

Login to follow topic

More posts by @Vandalay250

3 Comments

Sorted by latest first Latest Oldest Best

10% popularity

Latex honestly is not that difficult to learn to use for basic purposes. Especially if you're not trying to do tables or graphics or anything, there's not that much you need to learn, just a few simple commands like textbf{bold} and section{Section Title}. There are readily available packages for writing code samples which include syntax highlighting, and of course Latex is built for writing equations.

I realize that's specifically not what you were looking for (sorry), but in my opinion it really is your best bet. You already learned Vim, so you must be reasonably bright (full disclosure, I'm a fellow Vimmer); no reason you wouldn't be able to learn Latex.


Load Full (0)

10% popularity

I second Markdown, see my answer to a similar question here:

Least possible editing effort if a text is for multiple media?


Load Full (0)

10% popularity

Take a look at reStructuredText. It is a simple markup language which you can later convert into something else, like PDF. Might fit your case especially as it is a subproject of Docutils, a tool for source code/project documentation.

An alternative ist Markdown.


Load Full (0)

Back to top