137 lines
2.4 KiB
Org Mode
137 lines
2.4 KiB
Org Mode
#+TITLE: Orkmode Test Document
|
|
#+AUTHOR: Test User
|
|
#+EMAIL: test@example.com
|
|
#+TODO: TODO NEXT WAITING | DONE CANCELLED
|
|
#+FILETAGS: :test:sample:
|
|
#+STARTUP: overview
|
|
|
|
* Introduction
|
|
|
|
This is a test document for the orkmode parser.
|
|
|
|
It contains various org-mode constructs to verify parsing.
|
|
|
|
* TODO [#A] High Priority Task :urgent:work:
|
|
DEADLINE: <2025-01-15 Wed 14:00 +1w>
|
|
:PROPERTIES:
|
|
:CUSTOM_ID: high-priority
|
|
:EFFORT: 2h
|
|
:END:
|
|
|
|
This task is very important and has a weekly repeater.
|
|
|
|
** NEXT Subtask 1
|
|
SCHEDULED: <2025-01-14 Tue 10:00>
|
|
|
|
A subtask that's in progress.
|
|
|
|
** TODO Subtask 2
|
|
|
|
Another subtask to complete.
|
|
|
|
- [ ] Checklist item 1
|
|
- [X] Checklist item 2
|
|
- [-] Partially done item
|
|
|
|
* WAITING [#B] Blocked Task :blocked:
|
|
:PROPERTIES:
|
|
:BLOCKER: waiting for approval
|
|
:END:
|
|
|
|
This task is waiting on external input.
|
|
|
|
* DONE [#C] Completed Task
|
|
CLOSED: [2025-01-10 Fri 16:30]
|
|
|
|
This task has been completed.
|
|
|
|
* Reference Material
|
|
|
|
** Code Examples
|
|
|
|
Here's some Python code:
|
|
|
|
#+BEGIN_SRC python :results output
|
|
def fibonacci(n):
|
|
"""Generate Fibonacci sequence up to n."""
|
|
a, b = 0, 1
|
|
while a < n:
|
|
print(a, end=' ')
|
|
a, b = b, a + b
|
|
print()
|
|
|
|
fibonacci(100)
|
|
#+END_SRC
|
|
|
|
And some shell commands:
|
|
|
|
#+BEGIN_SRC bash
|
|
echo "Hello from Orkmode"
|
|
date
|
|
#+END_SRC
|
|
|
|
** Tables
|
|
|
|
| Name | Language | Stars |
|
|
|---------+----------+-------|
|
|
| Emacs | Lisp | 10000 |
|
|
| Neovim | Lua | 8000 |
|
|
| Helix | Rust | 3000 |
|
|
#+TBLFM:
|
|
|
|
** Lists
|
|
|
|
Different list types:
|
|
|
|
1. First ordered item
|
|
2. Second ordered item
|
|
- Nested unordered
|
|
- Another nested
|
|
3. Third ordered item
|
|
|
|
Definition list:
|
|
- Term 1 :: Definition of term 1
|
|
- Term 2 :: Definition of term 2
|
|
|
|
** Links and References
|
|
|
|
Some text with a [[https://orgmode.org][link to org-mode website]].
|
|
|
|
Internal link to [[#high-priority][the high priority task]].
|
|
|
|
** Math and LaTeX
|
|
|
|
Inline math: $E = mc^2$
|
|
|
|
Block math:
|
|
\begin{equation}
|
|
\int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}
|
|
\end{equation}
|
|
|
|
* Agenda Testing
|
|
:PROPERTIES:
|
|
:CATEGORY: agenda-test
|
|
:END:
|
|
|
|
** TODO Daily standup :meeting:
|
|
SCHEDULED: <2025-01-15 Wed 09:00 ++1d>
|
|
|
|
** TODO Weekly review :review:
|
|
SCHEDULED: <2025-01-17 Fri 15:00 +1w>
|
|
|
|
** NEXT Write documentation
|
|
DEADLINE: <2025-01-20 Mon>
|
|
|
|
* Archive :ARCHIVE:
|
|
:PROPERTIES:
|
|
:ARCHIVE: %s_archive::
|
|
:END:
|
|
|
|
Old completed items go here.
|
|
|
|
* Footnotes
|
|
|
|
[fn:1] This is a footnote definition.
|
|
|
|
[fn:sample] Another footnote with a label.
|