Tom Alexander
9e4bf553d3
First attempt at implementing drawers.
2023-04-15 17:56:07 -04:00
Tom Alexander
6e4aa38fce
Add test demonstrating problem.
2023-04-15 17:04:47 -04:00
Tom Alexander
d1a7d0b835
Show that trailing whitespace belongs to comments.
2023-04-15 16:37:25 -04:00
Tom Alexander
26e0ad5800
Add an example exploring indentation with comments.
2023-04-15 16:36:11 -04:00
Tom Alexander
cfcf6443ca
Added example org-mode file with comments.
2023-04-15 16:27:28 -04:00
Tom Alexander
08fed1301e
Fix plain list parser to not consume trailing whitespace on the last item.
2023-04-14 19:24:05 -04:00
Tom Alexander
4c920b9d3c
Add an example showing footnote definitions and their associated trailing whitespace.
2023-04-10 13:19:30 -04:00
Tom Alexander
ab329f367f
Add an exmaple showing that greater blocks begin can be indented different from end.
2023-04-07 16:14:57 -04:00
Tom Alexander
352532b759
Add an example showing greater blocks can be nested if they are different types.
2023-04-07 16:14:08 -04:00
Tom Alexander
942b486078
Add a test file showing lists where the earlier one is indented.
2023-03-31 13:32:07 -04:00
Tom Alexander
e7397f818d
Adding some notes on the exit matcher loop issue.
2023-03-27 12:33:58 -04:00
Tom Alexander
422535fbe4
Wrote a plain list item parser.
2023-03-25 14:23:52 -04:00
Tom Alexander
4a863e92ff
Add a test case showing only paragraphs exist on the first line for plain lists.
2023-03-25 13:25:20 -04:00
Tom Alexander
d98a11059c
Introduce the document structure.
2023-03-23 17:52:16 -04:00
Tom Alexander
fd45e4381c
Add a test org-mode document that shows backslashes before a line break create an explicit line break.
...
This line break appears in the output (for example a <br> in HTML) as opposed to the line breaks in paragraphs syntactically that get reduced to a single space on the same line.
2023-03-23 16:57:03 -04:00
Tom Alexander
7402de6a7c
Add a test org document with an asterisk inside the bold.
...
This is to prove that bold can contain an asterisk if it doesn't satisfy the exit matcher.
2023-03-23 14:20:14 -04:00
Tom Alexander
61638e80a0
Looks like tables cannot contain lists so we don't have to worry about more complicated exit rules.
2023-03-21 15:20:42 -04:00
Tom Alexander
fd879de353
Add a test case showing 2 blank lines exits the top-level plain list.
2023-03-21 15:13:50 -04:00
Tom Alexander
95fe88a5f4
Make all the makefiles recursive.
2023-03-21 14:32:26 -04:00
Tom Alexander
8cfa40737a
Fixed it so that each source file has its own role.
2023-03-21 14:20:33 -04:00
Tom Alexander
f8bce7e1a6
Create a more automatic makefile for org-mode trees.
...
Unfortunately, this seems to rebuild every source file every time so I still need to work on fixing that.
2023-03-21 14:18:14 -04:00
Tom Alexander
a5a03126d2
Add test for nested list end via 2 blank lines.
2023-03-19 14:52:29 -04:00
Tom Alexander
6a0dc2fc62
Format the ast.
2023-03-19 14:21:02 -04:00
Tom Alexander
33a69fbe0e
fixup
2023-03-19 14:17:11 -04:00
Tom Alexander
4e7d7d3bcf
Add scripts for dumping the org-mode ast to investigate how emacs parses various inputs.
2023-03-19 14:07:47 -04:00