Skip to content

dhilowitz/jsTaskPaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);}.

About

Javascript library to convert TaskPaper todo lists to HTML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published