Harrison-M / indent.txt-sublime

Sublime Text 2 plugin for indent.txt, a notetaking utility that turns an indented text document into a clean HTML outline, inspired by my own notetaking habits, Jade, and Todo.txt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Indent.txt Sublime

Turn your indented notes into HTML in Sublime Text 2

How to use

Sublime Text 2

  1. Place this repository's folder in your Sublime Packages folder or install using Sublime Package Control
  2. Run the "Indent.txt: Parse" command from the command palette (Ctrl-Shift-P) on a file or selection from a file
  3. The resulting HTML will open in a new tab.

Formatting

Examples of most formatting marks can be found in test.txt with the results in output.html in the main Indent.txt repository

  • 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

About

Sublime Text 2 plugin for indent.txt, a notetaking utility that turns an indented text document into a clean HTML outline, inspired by my own notetaking habits, Jade, and Todo.txt

License:Other


Languages

Language:Python 100.0%