LaTeX Tag is a SiYuan plugin that automatically numbers display math blocks in the current document.
- Scans display math blocks only.
- Adds missing
\tag{x}values. - Fixes incorrect or duplicate tags according to document order.
- Re-numbers after formula insertion, deletion, edits, and document switches.
- Provides a top bar toggle.
- Removes generated tags when disabled.
pnpm i
pnpm run devFor convenient debugging, place this folder under:
{SiYuan workspace}/data/plugins/LatexTag
pnpm run packageThe package command creates package.zip for release.