Python parsing module #4

Open
opened 2018-04-27 20:18:34 +00:00 by iamthefij · 0 comments
Owner

Can extend an existing Markdown renderer and provide some formatting for Markdone specific features (dates and tags).

In addition, should provide an object interface to Tasks and Notes.

Possible features:

Note:

  • tags: list of tags in this Note
  • text: text body of the Note
  • tasks: list of Task objects
  • render(): returns rendered body of the Note
  • sections: list of all headers in Note

Task:

  • tags: list of tags on this task
  • text: text body of the Task
  • tasks: list of sub-tasks under this task
  • render(): returns rendered body of the Task
  • is_done: indicates if the task is done
  • is_list_item: indicates if this Task is a list item
  • date: date or date time, if indicated in the Task

This should allow extended support for writing plugins or applications using Markdone

Can extend an existing Markdown renderer and provide some formatting for Markdone specific features (dates and tags). In addition, should provide an object interface to Tasks and Notes. Possible features: Note: * tags: list of tags in this Note * text: text body of the Note * tasks: list of Task objects * render(): returns rendered body of the Note * sections: list of all headers in Note Task: * tags: list of tags on this task * text: text body of the Task * tasks: list of sub-tasks under this task * render(): returns rendered body of the Task * is_done: indicates if the task is done * is_list_item: indicates if this Task is a list item * date: date or date time, if indicated in the Task This should allow extended support for writing plugins or applications using Markdone
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: iamthefij/markdone#4
No description provided.