18 Commits

Author SHA1 Message Date
Tom Alexander
8d85d5ef79
Fix clippy.
All checks were successful
format Build format has succeeded
clippy Build clippy has succeeded
rust-test Build rust-test has succeeded
2025-02-22 19:42:24 -05:00
Tom Alexander
c501f7cedc
Add syntax highlighting for bash.
Some checks failed
format Build format has succeeded
clippy Build clippy has failed
rust-test Build rust-test has succeeded
2025-02-22 19:07:56 -05:00
Tom Alexander
04952895cf
Add support for highlighting python based on the nix highlighter. 2025-02-22 17:56:56 -05:00
Tom Alexander
749f6d7a55
Dynamically register which CSS files are needed. 2025-02-22 17:28:24 -05:00
Tom Alexander
c4cf814f8d
Also add highlighting for paths. 2025-02-22 16:55:53 -05:00
Tom Alexander
4ea1a46705
Update dust templates to support the new source code block format. 2025-02-22 16:13:23 -05:00
Tom Alexander
4cc04bda46
Update the render context to use the new src block format. 2025-02-22 16:04:47 -05:00
Tom Alexander
7e934cd360
Removed the enum and made plain src blocks just highlighted src blocks with only plain text in them. 2025-02-22 15:55:16 -05:00
Tom Alexander
c067ca9cc8
Introduce an enum for a separate highlighted src block type. 2025-02-22 15:22:35 -05:00
Tom Alexander
72952adb6b
Add post_blank to the rust types. 2023-12-21 15:09:13 -05:00
Tom Alexander
5654c40d03
Get the real language for src blocks from the org source. 2023-12-21 12:07:36 -05:00
Tom Alexander
add267d616
Switch over to using the render context in render calls. 2023-12-19 16:20:12 -05:00
Tom Alexander
ef4d315bf2
Run cargo fix. 2023-10-31 20:02:46 -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
ada11816fb
Run cargo fix. 2023-10-29 22:31:29 -04:00
Tom Alexander
313313ae53
Initial structure for unhighlighted source blocks. 2023-10-29 09:37:27 -04:00
Tom Alexander
c279bad13a
Add children to heading. 2023-10-27 19:22:17 -04:00
Tom Alexander
23713a934c
Add the skeletons for the elements. 2023-10-27 17:08:58 -04:00