Tom Alexander
884215a7e1
Writing the stylesheets to the output folder.
2023-12-17 13:46:47 -05:00
Tom Alexander
20c55f0708
Loading stylesheets from the default environment.
2023-12-17 12:43:47 -05:00
Tom Alexander
9e3d72972c
Add a CSS reset file.
2023-12-17 11:55:38 -05:00
Tom Alexander
806c45a453
Switch back to the published version of organic.
2023-12-17 11:54:59 -05:00
Tom Alexander
270c42a509
Update to use get_value from the latest organic code.
2023-10-31 22:03:22 -04:00
Tom Alexander
e8963e107b
Merge branch 'table'
2023-10-31 20:38:36 -04:00
Tom Alexander
0b64551a23
Add templates for tables.
2023-10-31 20:31:36 -04:00
Tom Alexander
b654ca4859
Add render phase to tables.
2023-10-31 20:29:37 -04:00
Tom Alexander
386af57ce6
Add intermediate stage for tables.
2023-10-31 20:26:34 -04:00
Tom Alexander
ef4d315bf2
Run cargo fix.
2023-10-31 20:02:46 -04:00
Tom Alexander
2142b01967
Merge branch 'text_markup'
2023-10-31 20:02:13 -04:00
Tom Alexander
159d8fb72a
Add render stage for text markup.
2023-10-31 20:02:04 -04:00
Tom Alexander
0fae417610
Add intermediate stage for text markup.
2023-10-31 19:57:04 -04:00
Tom Alexander
ae933b491e
Use macros for the intermediate to render step.
...
This is largely to make changing the type signature of these functions easier by significantly reducing the amount of places that duplicates the signature.
2023-10-31 19:48:05 -04:00
Tom Alexander
5e476e189a
Merge branch 'latex_fragment'
2023-10-31 19:18:20 -04:00
Tom Alexander
533997dbf5
Add a template for latex fragment.
2023-10-31 19:16:13 -04:00
Tom Alexander
8695cf17c5
Copy the value of latex fragments through the pipeline.
2023-10-31 19:14:36 -04:00
Tom Alexander
e2f9938437
Add notes about latex fragments.
...
The places they are currently occurring in my posts are unintentional, so I don't think I will be implementing latex fragments right now, but the notes are worth keeping.
2023-10-31 12:32:20 -04:00
Tom Alexander
ada11816fb
Run cargo fix.
2023-10-29 22:31:29 -04:00
Tom Alexander
ff57242434
Merge branch 'footnote'
2023-10-29 22:29:38 -04:00
Tom Alexander
0da37b25e3
Assign the reference counts.
2023-10-29 22:29:29 -04:00
Tom Alexander
ff03140007
Order the footnotes based on when they start processing rather than when they finish.
...
This has the benefit of making the output order make sense when footnote definitions reference footnote references but I mostly did it to match the behavior of upstream org-mode.
2023-10-29 22:29:29 -04:00
Tom Alexander
0ae492f8d3
Promote waiting footnote definitions.
2023-10-29 22:29:29 -04:00
Tom Alexander
613d49c6ec
Record on-deck footnote definitions.
2023-10-29 22:29:29 -04:00
Tom Alexander
0f7e5eea25
no-op the template for footnote definitions.
2023-10-29 22:29:29 -04:00
Tom Alexander
2e7cfd5637
Only parse footnote definitions if they target a reference that exists.
2023-10-29 22:29:28 -04:00
Tom Alexander
afe62de2b6
Re-enable AstNode.
2023-10-29 22:29:28 -04:00
Tom Alexander
1f3b5262b8
Fix build by making the registry guarded by an ArcMutex.
2023-10-29 22:29:28 -04:00
Tom Alexander
f63620b547
Registry being mutuably borrowed.
2023-10-29 22:29:28 -04:00
Tom Alexander
671159cb82
Does not work even without IntoAstNode.
2023-10-29 22:29:28 -04:00
Tom Alexander
f1e985fb32
Lifetime issue.
2023-10-29 22:29:28 -04:00
Tom Alexander
a966be8122
Remove closures from iselector macro.
2023-10-29 22:29:28 -04:00
Tom Alexander
24b9782146
Avoid closures for the intermediate macro.
2023-10-29 22:29:28 -04:00
Tom Alexander
3d44d20384
Running into borrow issue on intermediate.
2023-10-29 18:46:14 -04:00
Tom Alexander
f98a09bc59
Use macros for creating the intermediate stage.
...
This is to make it easier to change function signatures by consolidating the places where the signatures exist.
2023-10-29 18:46:14 -04:00
Tom Alexander
ba511b7f9e
Add another test for footnote definitions.
2023-10-29 18:46:13 -04:00
Tom Alexander
3720558d93
Render the footnote definitions.
2023-10-29 18:46:13 -04:00
Tom Alexander
b66ec507ef
Create a render ast node type.
2023-10-29 18:46:13 -04:00
Tom Alexander
645ae26701
Remove intermediate lifetime.
2023-10-29 14:53:11 -04:00
Tom Alexander
6109902945
Create an intermediate ast node type.
2023-10-29 14:45:02 -04:00
Tom Alexander
cd27869122
Populate render context for footnote references.
2023-10-29 14:45:02 -04:00
Tom Alexander
795945f0da
Register footnote definitions.
2023-10-29 14:45:02 -04:00
Tom Alexander
cb7c28c1ae
Add intermediate lifetime.
2023-10-29 12:24:49 -04:00
Tom Alexander
52ca300de3
Beginning to hand out footnote ids.
2023-10-29 12:24:49 -04:00
Tom Alexander
06dcd22e69
Switch to split inclusive instead of manually-implemented full lines iterator.
2023-10-29 10:59:33 -04:00
Tom Alexander
f87c453459
Move the full lines iterator to its own file.
2023-10-29 10:55:03 -04:00
Tom Alexander
e42edb3f49
Merge branch 'src_block'
2023-10-29 10:44:42 -04:00
Tom Alexander
6d83828012
Add inline source block.
2023-10-29 10:44:32 -04:00
Tom Alexander
eaea37f448
Add a basic template for source blocks.
2023-10-29 10:41:03 -04:00
Tom Alexander
fb99fd2b39
Get the source code lines.
2023-10-29 10:32:05 -04:00