A notetaking utility that turns an indented text document into a clean HTML outline, inspired by my own notetaking habits, Jade, and Todo.txt. Sublime Text plugin: https://github.com/Harrison-M/indent.txt-sublime
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
indenttxt @ 12964f9
.gitignore
.gitmodules
LICENSE
README.md
indenttxt.py
output.html
test.txt

README.md

Indent.txt

Turn your indented notes into HTML

How to use

Sublime Text 2

See indent.txt-sublime

Command line

python indenttxt.py inputfile outputfile

Parses inputfile using the Indent.txt parser and saves the result to outputfile

Formatting

Examples of all formatting marks can be found in test.txt with the results in output.html

  • Prefixing a line with a single asterisk (*) will wrap the item in an <em> tag
  • Prefixing a line with two asterisks (**) will wrap the item in a <strong> tag
  • Prefixing a line with two forward slashes (//) indicates a comment, excluding the line from the results. This will eventually be used for metadata and parser instructions.

Like Indent.txt?

endorse

License

MIT

Coming soon:

  • More formatting
  • Automatic table of contents
  • Mark lines as Todo.txt items