Description Usage Arguments Examples
Use the syntax of the tt()
function without
actually committing the task. This is useful for
practicing the shorthand of entering a tracked task
since the tracked-time event is echoed to the console.
1 2 |
... |
a string that allows for a shorthand means to track time for some task. |
task |
the task description. |
s |
the start time for the task. Must be
in the ISO date/time format of |
e |
the end time for the task. Must be
in the ISO date/time format of |
lbl |
a label to use for the event. |
proj |
project information for the event. |
info |
information pertaining to the event. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # Draft a tracked task using `ttd()`; it won't
# be committed to the ttt_dir but information
# on the tracked task will be echoed back--this
# is useful for ensuring that the information
# is correct before using `tt()`
ttd(
task = "Description of the task",
s = "2018-05-24 11:30",
e = "2018-05-24 12:00",
lbl = "label",
proj = "project_name",
info = "Any additional information")
# We can also use the shorthand notation
ttd("
t: Description of the task;
s: 2018-05-24 11:30;
e: 2018-05-24 12:00;
l: label;
p: project_name;
i: Any additional information
")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.