Commit graph

151 commits

Author SHA1 Message Date
b60151556e Lexeme: Add 'third' field, implement Default, simplify some methods 2026-01-07 10:56:27 -03:00
bed78e0d7b Do not print logging output if DEBUG < 1 2026-01-07 01:03:28 -03:00
c6b43b2c48 Implement escaping 2026-01-07 01:02:57 -03:00
0d910634c6 Implement underline and strikethrough tokens 2026-01-06 23:10:33 -03:00
1faa0d5c3b Implement bold token 2026-01-06 18:55:26 -03:00
36e2b5925c Fix navbar search form action 2026-01-06 18:51:53 -03:00
0ec784034a Implement list token 2026-01-06 18:51:53 -03:00
be6578bee2 Add handlers for smart-case, spaced node queries 2026-01-06 04:10:49 -03:00
435cf4d18f Add interactive navigation controls 2026-01-06 03:52:08 -03:00
a98c87cdfc Implement spaced anchor redirection 2026-01-05 23:12:10 -03:00
5a7557ba7d Handle Anchor edge cases involving punctuation 2026-01-05 19:39:56 -03:00
b745b74c76 Consistently log parser state changes 2026-01-05 14:13:57 -03:00
40030c7b5b Move tests to corresponding context parsing modules 2026-01-05 13:52:26 -03:00
b54def15e0 Extract block and inline content parsing to their own modules 2026-01-05 13:38:34 -03:00
a997f538c3 Minor linting tweaks 2026-01-05 13:20:48 -03:00
6b739d93c2 Replace all uses and implementations of new() with default() 2026-01-05 13:20:48 -03:00
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