Orgmode syntax: Difference between revisions
From wikinotes
(→Dates) |
|||
Line 57: | Line 57: | ||
* deadlines | * deadlines | ||
* scheduled | * scheduled | ||
* (no key -- will show up in agenda at date/time) | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
** TODO Clean Kitchen | ** TODO Clean Kitchen | ||
DEADLINE: <2022-01-01 Sat> SCHEDULED: <2021-01-15 Wed> | DEADLINE: <2022-01-01 Sat> SCHEDULED: <2021-01-15 Wed> # due sat, scheduled to show in agenda 15 | ||
<2022-01-01 12:00> # will appear in agenda at 12pm | |||
</syntaxhighlight> | </syntaxhighlight> | ||
</blockquote><!-- Dates --> | </blockquote><!-- Dates --> |
Revision as of 02:38, 22 September 2023
Documentation
syntax docs https://orgmode.org/quickstart.html syntax: external links https://orgmode.org/manual/External-Links.html syntax: internal links https://orgmode.org/manual/Internal-Links.html export-options https://orgmode.org/manual/Export-Settings.html recurring tasks, and habit reports https://orgmode.org/worg/org-tutorials/tracking-habits.html
Components
Export Options
Headers
Tasks
Overview
** WAITING [#B] Clean Kitchen :kitchen:irl: DEADLINE: <2023-01-29 Sun> SCHEDULED: <2023-01-29 Sun> :LOGBOOK: CLOCK: [2023-01-31 Tue 00:12]--[2023-01-31 Tue 00:13] => 0:01 CLOCK: [2023-01-30 Mon 23:54]--[2023-01-30 Mon 23:54] => 0:00 CLOCK: [2023-01-30 Mon 23:53]--[2023-01-30 Mon 23:54] => 0:01 - State "TODO" from "DONE" [2023-01-29 Sun 18:27] - State "DONE" from "TODO" [2023-01-29 Sun 18:27]** # indicates the task nest-depth [#B] # is the priority :kitchen:irl: # are both tags assigned to this task DEADLINE # is when task must be done SCHEDULED # when task will show up in agenda (to be done) :LOGBOOK: # includes information about state transitions, and clocked timeDates
- deadlines
- scheduled
- (no key -- will show up in agenda at date/time)
** TODO Clean Kitchen DEADLINE: <2022-01-01 Sat> SCHEDULED: <2021-01-15 Wed> # due sat, scheduled to show in agenda 15 <2022-01-01 12:00> # will appear in agenda at 12pmRecurring Dates
You can also schedule recurring tasks, by adding a
+2d
or+1w
. Each time this task is completed, it will be scheduled for it's next date.** TODO Clean Bathroom SCHEDULED: <2023-01-07 Sat +1w>Tags
Markup
# export-options at top of file #+title: My Paper #+author: Darth Vader # headers * Heading 1 ** Heading 2 # markup *bold* /italic/ _underline_ +strikethrough+ ~code~ =verbatim= # lists 1. Foo - item a - item b 2. Bar - item a - item b - [ ] check me - [x] checked # code-blocks #+begin_src python def foo(): print('hi') #+end_src
Links
# external links [[http://google.com]] # link [[http://google.com][google]] # link with name # filesystem links [[file:~/Pictures/foo.png]] # link to local file # same-file links [[*Some Org Mode Header]] # link to an org-mode header within same file
Tags
https://orgmode.org/manual/Tags.html
- tags support inheritance
- you may pre-define tags globally, and complete them
- you may pre-define tags for a specific file, and complete them
# +---+---- these are both tags # / / ** My Heading :testing:heading: