Commit Graph

167 Commits

Author SHA1 Message Date
Tom Alexander
72e656751a It looks like paragraphs inside empty drawers just capture the first new line and then the rest are trailing whitespace capture. 2023-04-22 21:11:22 -04:00
Tom Alexander
401fb339d0 Add a text markup text with all variants. 2023-04-22 20:05:58 -04:00
Tom Alexander
80f43d54da Add a simple example of text markup. 2023-04-22 18:55:24 -04:00
Tom Alexander
8072430265 Add an example of text markup opening and closing. 2023-04-22 17:31:21 -04:00
Tom Alexander
185f16d2cc Add latex environment simple test. 2023-04-22 16:48:56 -04:00
Tom Alexander
0117a9490a Add a test for affiliated keywords. 2023-04-21 23:01:12 -04:00
Tom Alexander
f0bab39778 Code structure for keyword. 2023-04-21 22:33:10 -04:00
Tom Alexander
bfffde3fdb Implement the horizontal rule parser. 2023-04-21 22:23:59 -04:00
Tom Alexander
5ae8ac61e5 Code structure for fixed width area. 2023-04-21 22:04:22 -04:00
Tom Alexander
591d9c5e1f Make the test a little more complex. 2023-04-21 21:26:38 -04:00
Tom Alexander
ead643b3c7 Add a simple planning example. 2023-04-21 21:24:36 -04:00
Tom Alexander
fa88a7d600 Add a simple diary sexp test case. 2023-04-21 20:23:58 -04:00
Tom Alexander
30c82ca1bb Add a simple clock test. 2023-04-21 19:24:23 -04:00
Tom Alexander
6fce666983 Add test case for invalid src block. 2023-04-21 18:13:23 -04:00
Tom Alexander
cdcaae11c4 Add tests for broken export blocks. 2023-04-21 18:11:26 -04:00
Tom Alexander
77d3f40c19 Add a simple example of each lesser block type. 2023-04-21 17:37:48 -04:00
Tom Alexander
f1b0d7e6be Add a simple test table org-mode document. 2023-04-21 14:39:20 -04:00
Tom Alexander
b557b9ca5d Accounting for the blank lines at the head of documents and comments plus property drawer at the head of the zeroth section. 2023-04-19 18:37:39 -04:00
Tom Alexander
f7f29e7a56 Finish property drawer parser but node property is unstarted. 2023-04-19 17:15:00 -04:00
Tom Alexander
fcf1ba4ea6 Add an example of nested properties adding to previous properties. 2023-04-19 16:43:23 -04:00
Tom Alexander
2a04455955 Remove the makefiles from org_mode_samples.
These Makefiles were beautiful, but now that the org_mode_samples are integrated into the rust test framework, it no longer makes sense to keep using these Makefiles. Instead, running scripts/run_integration_test.bash <org file under org_mode_samples>... will output the same information, additional information, and it will do it all without writing anything to disk (besides any files generated during compilation).
2023-04-19 16:22:53 -04:00
Tom Alexander
8214efdfcb Make the integration test script work from anywhere. 2023-04-19 16:15:58 -04:00
Tom Alexander
09442a0530 Oddly enough emacs is breaking up lines with 🔚 as a separate paragraph when regular letters would get combined. 2023-04-18 21:41:13 -04:00
Tom Alexander
0effc7c087 You can have a block containing only whitespace which gets matched as a paragraph whose value is just a single newline. 2023-04-18 20:58:25 -04:00
Tom Alexander
98a46cd707 More notes. 2023-04-17 20:53:51 -04:00
Tom Alexander
dc5fc863f5 Add more paragraph tests. 2023-04-17 20:40:23 -04:00
Tom Alexander
867a55fbf7 More paragraph tests. 2023-04-17 20:33:51 -04:00
Tom Alexander
4dd18006a5 Add some tests for paragraphs. 2023-04-17 20:13:07 -04:00
Tom Alexander
89040c51a6 Update test case 1. 2023-04-17 19:45:50 -04:00
Tom Alexander
49be5ae7b1 Identify a mistake in the plain list drawer test. 2023-04-17 17:29:35 -04:00
Tom Alexander
f1880fdb7d Add plain list first tests. 2023-04-17 16:41:58 -04:00
Tom Alexander
16218ec040 Add footnote definition first tests. 2023-04-16 18:01:47 -04:00
Tom Alexander
4c4d79a665 Add the dynamic block first tests. 2023-04-16 17:56:03 -04:00
Tom Alexander
a6036e257e Add the drawer second tests. 2023-04-16 17:50:16 -04:00
Tom Alexander
beff8f8999 Add the drawer first tests. 2023-04-16 17:41:14 -04:00
Tom Alexander
ed6fda9918 Add the greater block second tests. 2023-04-16 17:33:33 -04:00
Tom Alexander
6da7cb2c17 Add greater block first tests. 2023-04-16 17:18:41 -04:00
Tom Alexander
e20bd793be Include comment about section-first and section-second tests. 2023-04-16 17:08:56 -04:00
Tom Alexander
70596dc27b Add all the section-first tests. 2023-04-16 17:06:08 -04:00
Tom Alexander
f41197b096 Add the first test. 2023-04-16 16:55:53 -04:00
Tom Alexander
d155ca1027 Set up an experiment for figuring out exit matcher priority. 2023-04-16 16:48:22 -04:00
Tom Alexander
0be554bfb6 Add an example of headlines breaking a drawer. 2023-04-16 15:55:39 -04:00
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