Skip to content

Add math directive#2090

Merged
theletterf merged 5 commits into
mainfrom
add-math-directive
Oct 22, 2025
Merged

Add math directive#2090
theletterf merged 5 commits into
mainfrom
add-math-directive

Conversation

@theletterf

@theletterf theletterf commented Oct 22, 2025

Copy link
Copy Markdown
Member

Fixes #19

After discussing options with @ioanatia and @leemthompo, I decided to give this one a try. There are no good, free .NET libraries for server-side TeX rendering, AFAIK, so I chose to go with client-side rendering by adding KaTeX in the project.

The PR includes docs and a suite of tests. There's an awful amount of fonts for the static assets, but I don't think they'll have an impact.


Co-authored using Cursor in automatic model selection mode.

@theletterf
theletterf requested review from a team as code owners October 22, 2025 11:54
@theletterf
theletterf requested a review from cotti October 22, 2025 11:54
@theletterf theletterf self-assigned this Oct 22, 2025
@github-actions

Copy link
Copy Markdown

🔍 Preview links for changed docs

@Mpdreamz Mpdreamz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great thanks @theletterf ! Katex is MIT licensed so see no issues pulling this in.

@Mpdreamz

Copy link
Copy Markdown
Member

We can work on only including it on the pages with a math directive in a follow up.

@cotti

cotti commented Oct 22, 2025

Copy link
Copy Markdown
Contributor

So cool!

Renders pretty well, too.

@theletterf
theletterf merged commit 350125a into main Oct 22, 2025
22 checks passed
@theletterf
theletterf deleted the add-math-directive branch October 22, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

math directive

3 participants