Tasklist

#for $task in $tasks: $task_template($task)#slurp #end for
Tags Title Due
#def task_template($task, $is_subtask = '') #if $task.has_tags #slurp #for $tag in $task.tags:  #slurp #end for #else #slurp #end if# #if $task.has_title

$task.title

#if $task.has_text

$remove_html_tags($task.text)

#end if #end if #slurp #if $task.has_due_date $task.due_date#slurp #end if# #if $task.has_subtasks #for $subtask in $task.subtasks: $task_template($subtask, 'subtask') #end for #end if #end def

Tags Key

#for $tag in $plugin_api.get_requester().get_tag_tree().get_all_nodes(): #set $tag_obj = $plugin_api.get_requester().get_tag_tree().get_node($tag) #if $tag_obj.is_special(): #continue #end if

 $tag.replace('@', '')

#end for
##This is just to avoid annoying characters around. If you don't believe me, ## just take it out #import re #def remove_html_tags($data): ##Removing subtask anchor points #set $p = $re.compile(r'^.*[0-9]*@[0-9]*.*$',$re.MULTILINE) #set $data = $p.sub('', $data) ##Removing tags #set $p = $re.compile(r'@[a-z,0-9]*',$re.IGNORECASE) #set $data = $p.sub('', $data) ##Removing and #set $p = $re.compile(r'<.*?>') #set $data = $p.sub('', $data) ##Removing lines only with commas (tags lines) #set $p = $re.compile(r'^[\s,\,]*$') #return $p.sub('', $data).strip().strip(',') #end def