feat(math): add katex-rs math rendering module

Add src/math.rs with render_math() wrapper around katex-rs for
build-time LaTeX to HTML conversion. Wire module into main.rs.

- Use KatexContext::default() for standard LaTeX function registry
- Settings: display_mode toggle, throw_on_error=false for graceful
  degradation
- Include unit tests for inline/display math rendering
This commit is contained in:
Timothy DeHerrera
2026-01-27 00:29:03 -07:00
parent a7338f5418
commit ebe1fd3b6e
4 changed files with 266 additions and 12 deletions

View File

@@ -8,6 +8,7 @@ mod css;
mod error;
mod feed;
mod highlight;
mod math;
mod render;
mod templates;