315956e20d
Make Oblique no longer a context, add a point module
2026-01-05 12:52:48 -03:00
de5b3dd377
Extract content parser state to its own module
2026-01-05 11:29:47 -03:00
735b58866c
Make lexeme and token logging more concise
2026-01-05 11:10:50 -03:00
cb24837ff0
Fix unbalanced anchor tags
2026-01-05 00:51:52 -03:00
9f04a4606c
Handle several anchor edge cases
2026-01-03 16:06:16 -03:00
f9bff6acab
Minor refactoring/formatting fixes
2026-01-03 16:01:56 -03:00
cbefcdcad7
Simplify Anchor context parser
2026-01-02 21:26:33 -03:00
48765de3b6
Drop needless "empty parse" check
2026-01-02 21:26:33 -03:00
0ddc03f6c1
Skip certain paths from logging
2026-01-02 21:26:26 -03:00
21ab00b3eb
Improve testing and handling of some Anchor edge cases
2026-01-02 14:34:08 -03:00
f9ef9a56a1
Centralize definition of delimiters in the segment module
2026-01-02 14:33:25 -03:00
8d204503a8
Derive Debug and Clone for tokens and parser state
2026-01-02 14:30:36 -03:00
5ed2036e36
Extract context-specific parsing to a separate module
2026-01-02 00:53:42 -03:00
79c0ba9eed
Minor refactorings, justfile tweaks, roadmap update
2026-01-01 21:58:39 -03:00
bfd22bb6fa
Improve forced flanking node rendering
2026-01-01 21:58:39 -03:00
a09ddc35b9
Make content syntax segmentation less terse
2026-01-01 21:58:39 -03:00
800b175ec5
Add node 'redirect' field
2026-01-01 21:58:39 -03:00
8ee0ad7977
Add Oblique token
2026-01-01 21:58:39 -03:00
a71a9f4224
Make Lexeme text field private, add last field
2026-01-01 21:58:34 -03:00
bb5dde6c2e
Fix closing of EOF open preformat context
2026-01-01 21:51:41 -03:00
7300a29b67
Concentrate configuration content parsing in syntax::serial
...
Fixes some pages not having parsed input by making it much harder to
construct a config with unparsed text, which is something you basically
never want. The parsing now happens much earlier and consumers don't
need to remember to parse the configuration anymore.
Fixes a possible stack overflow due to parsing and configuration
depending on each other.
This commit also has dependencies updates and minor justfile tweaks.
2025-12-28 06:27:30 -03:00
9dfd493bf5
Cleanup and rework justfile, add some CI-only checks
2025-12-26 16:48:08 -03:00
de3713255b
Fail CI on rustc warnings
2025-12-26 05:03:48 -03:00
e50bbd468d
Add tests for the content syntax parser
2025-12-26 04:20:10 -03:00
da0ed3f2b3
Add closing function on content syntax parser
...
This provides saner, more testable, properly closed output even without
a trailing newline.
2025-12-26 01:18:38 -03:00
6c026853e8
Fix forced flanking anchor destination resolution
2025-12-26 01:17:27 -03:00
6d5f200e09
Add an empty file to mocks/no_graph so it exists in CI
2025-12-26 00:26:02 -03:00
e657eb6513
Add tests for all but the content syntax parser module
2025-12-25 23:57:22 -03:00
f48b2070bc
Minor refactorings, type adjustments and typo fixes
2025-12-25 23:56:18 -03:00
78a3ef4a48
Fix anchors not applying destination resolution
2025-12-25 23:54:09 -03:00
14dc84cc43
Reorganize module structure
2025-12-24 12:45:14 -03:00
51047ad11c
Fix and document some Anchor Syntax corner cases
2025-12-24 12:20:28 -03:00
95b437b3ac
Expect a newline after PreFormat lexemes
2025-12-24 06:33:40 -03:00
6aa6b596f6
Let header IDs have their original case
2025-12-24 06:33:13 -03:00
2eb7380212
Fix redirect to 404 on /node/ URLs
2025-12-24 06:32:40 -03:00
8b782d6d20
Rework token segmentation
2025-12-23 21:53:56 -03:00
ffead4fb47
Make HTML lang attribute configurable
2025-12-23 21:40:31 -03:00
6b34bb4531
Fix an anchor clustering corner case
2025-12-21 15:32:45 -03:00
76b836f0a0
Case-insensitive node routing
2025-12-21 15:32:34 -03:00
1f4a9faa75
Automatic header IDs
2025-12-21 14:50:42 -03:00
34460c1097
Render configuration text only if non-empty
2025-12-20 21:28:42 -03:00
1600e86504
Hide tree node text by default
2025-12-20 21:28:22 -03:00
ad3f9687c6
Add 'hidden' node attribute
2025-12-20 21:28:00 -03:00
77d08036c6
Pass full node struct to node handler
2025-12-20 21:26:36 -03:00
d2accbd38d
Add logging filter and some log level support
2025-12-20 21:25:21 -03:00
e3d5686c7b
Simplify parser module structure, add several syntax elements
2025-12-20 21:25:06 -03:00
070b5b7448
Add short-form node anchors
2025-12-18 11:46:28 -03:00
198bc12507
Add word-level parsing
2025-12-18 11:35:08 -03:00
0d66b1ee7c
Replace logging function with a macro
2025-12-18 02:19:55 -03:00
99b9feeb95
Extract config text parsing into the type
2025-12-17 10:15:21 -03:00