PDA

View Full Version : manual.txt formatting (not a bug)


fab
07-22-2010, 10:17 AM
Hi Steven,

This is not a bug. ;)

I thought I'd mention markdown as an interesting option for the manual.txt file.

That would let you easily export it to a nicely formatted HTML page on your site (slap some sweet CSS on top :)), and also a PDF file, and many other formats.

Markdown syntax:

http://daringfireball.net/projects/markdown/syntax

Markdown test page:

http://daringfireball.net/projects/markdown/dingus

Example gist (it doesn't look great with github's formatting, but you get the idea..). To get gist to format markdown I renamed the file as "*.md"

http://gist.github.com/485944

One thing I could'nt do is a simple indentation for the minimum specs without using bullets , but the preformatted block could easily be styled to create indented text instead.

Hope this helps..