Javascript library to convert TaskPaper todo lists to HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
bower.json
demo.html
readme.mdown
todo.txt

readme.mdown

jsTaskPaper

Javascript library to convert TaskPaper todo lists to HTML. Based on Jim Kang's tp_to_html.pl.

Requirements

jQuery 2.0.3

Usage

Usage is pretty simple. You create a <div> in your HTML like so:

    <div id="scratchTasks" class="taskDiv"></div>

and then you invoke the Javascript lib as follows:

    <script type="text/JavaScript">
	$(document).ready(function(){
		new TaskPaperPanel('#scratchTasks', '<url-of-taskpaper-todo-file>', 4000);
	});
	</script>

That's pretty much it. Style to your heart's content using the stylesheet in src/css/taskpaper.css.

Each tag gets its own CSS style. For example, the tag @home would be styled as li.tptag-home {color: rgb(64,128,183);}.