Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions File Formats/Documents/To Do List.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# _To Do List_
| Information | |
|-------------|---------------------------------------------------------------------------------------|
| Version | 0.3.0 |
| Type | Document file format |
| MIME | `text/tdl` |
| Extensions | `.tdl` |

### Technical Details

A TDL file has some requirements:
* It must be a serialized table.
* Each item in that table must be a table containing a string (to be used as the name of the task) and a number between 0 and 1 (the percent of completion, divided by 100) OR a table where each item in that table must be a table containing a string (to be used as the name of the task) and a number between 0 and 1 (the percent of completion, divided by 100).

Programs should check to make sure the table meets the standard while or before using the contents of said table.

#### Available Utilities
* TDLClient (discontinued) - For manipulating TDL files.
* TDLViewer - For viewing the contents of a TDL file.

### Examples
#### Installation
Use `pastebin run Hpum9P5F` and choose "y" when prompted. This will install TDLViewer. If you wish, you can then enter "y" again to install the outdated TDLCLient. TDLClient will not render tasks with subtasks.

#### Usage
```Lua
{
{"Show off how minimalistic this looks.",1,},
{"Find out the Doctor's name.",
{"Track down the Doctor", 1,},
{"Ask the Doctor what their name is", 0,},
},
}
```

(example courtesy of Lyqyd)