Tom Alexander
57f56eb860
Compare footnote definition and greater block bounds.
2023-04-12 13:45:22 -04:00
Tom Alexander
f27965001d
End plain lists when there are two blank lines.
2023-04-12 13:09:44 -04:00
Tom Alexander
2a601475fd
Compare children of sections.
2023-04-12 11:46:49 -04:00
Tom Alexander
6fdd613bed
Cleanup.
2023-04-10 12:13:31 -04:00
Tom Alexander
e5bc4cb14b
Footnote definitions are parsing on their own.
2023-04-10 11:50:43 -04:00
Tom Alexander
9a0172e1a4
Add a context element for tracking whether or not elements should consume their trailing whitespace.
2023-04-10 10:36:16 -04:00
Tom Alexander
716f80b0ec
Add initial implementation of footnote definition.
2023-04-07 17:14:44 -04:00
Tom Alexander
6e6ec56d1f
Basic implementation of greater block parser.
2023-04-03 18:33:07 -04:00
Tom Alexander
9e0bea4c3e
Starting the greater block source.
2023-04-03 17:36:56 -04:00
Tom Alexander
707eac5bf8
Move trailing whitespace parsing to a separate element.
...
I still need to parse the line break at the end of elements.
2023-03-31 11:16:37 -04:00
Tom Alexander
028946ec90
Identified the problem.
...
The issue is plain text is eating the line break so paragraph is failing since it expects a line break at the end.
2023-03-27 18:08:17 -04:00
Tom Alexander
22a2ed29f1
Integrate plain list parser into the parser tree.
2023-03-27 13:06:41 -04:00
Tom Alexander
74fc440cbd
Move parsers for specific objects/elements to their own files.
...
The parsers are the most complicated part, so I want them in their own files. I am uncertain if I want to move their corresponding structs or just the parsers.
2023-03-25 12:53:57 -04:00
Tom Alexander
3a0a4c8953
Consume the trailing whitespace after a headline.
2023-03-25 11:59:19 -04:00
Tom Alexander
b65c2f86b5
Consume trailing whitespace in paragraphs.
2023-03-25 11:50:15 -04:00
Tom Alexander
3c26933e7f
Move some functions into util.
2023-03-25 11:25:10 -04:00
Tom Alexander
d582c8603a
Implement a basic paragraph parser.
2023-03-25 11:22:59 -04:00
Tom Alexander
dc9f3eb2e6
Implement the section parser.
2023-03-24 17:00:27 -04:00
Tom Alexander
d98a11059c
Introduce the document structure.
2023-03-23 17:52:16 -04:00
Tom Alexander
35d60c10ba
Define greater and lesser elements.
2023-03-23 17:26:07 -04:00