https://github.com/allanchain/logseq-display-math
Tweak LaTeX rendering and styling
https://github.com/allanchain/logseq-display-math
logseq logseq-plugin math
Last synced: 4 months ago
JSON representation
Tweak LaTeX rendering and styling
- Host: GitHub
- URL: https://github.com/allanchain/logseq-display-math
- Owner: AllanChain
- License: unlicense
- Created: 2023-06-10T10:53:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-25T08:34:47.000Z (over 2 years ago)
- Last Synced: 2025-06-06T04:02:16.844Z (8 months ago)
- Topics: logseq, logseq-plugin, math
- Language: TypeScript
- Homepage:
- Size: 29.3 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Logseq Display Math
Tweak LaTeX rendering and styling
## Features
- Make all math render in display style.
- Configurable KaTeX macros in settings.

## How it works
This is a simple plugin which hijacks `katex`'s `render` function to add `\displaystyle` and user-defined macros.
## How to temporarily disable `\displaystyle`
Just add `\textstyle` in the front: `\textstyle \sum_{n=1}^{\infty}\frac{1}{n^s}`