Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

obsidian-latex

> 编程语言
Open source

Obsidian Extended MathJax This plugin extends the MathJax support in Obsidian with a MathJax preamble file which is loaded at startup. It a…

188 stars0 likes3 views
WebsiteGitHub

About

Obsidian Extended MathJax This plugin extends the MathJax support in Obsidian with a MathJax preamble file which is loaded at startup. It a…

Obsidian Extended MathJax

This plugin extends the MathJax support in Obsidian with a MathJax preamble file which is loaded at startup. It also enables some additional MathJax extensions (notably mhchem and bussproofs).

The preamble is stored in a preamble.sty file in the root of the vault.

Installation

  1. Install 'Extended MathJax' from the Obsidian community plugin browser or by navigating to this link: obsidian://show-plugin?id=obsidian-latex.
  2. Create a preamble.sty file in the root of your vault using your choice of text editor.
  3. Add your macros to preamble.sty

Changing your preamble

If you make changes to your preamble you will need to run the command "Reload app without saving". This will reload all your Obsidian plugins and your preamble.

Help, my preamble is not read!

There are two common reasons why your preamble is not read:

  1. preamble.sty needs to be present before running "Reload app without saving". If it is not present on startup, the plugin will disable itself and you need to manually enable it again.
  2. Make sure the preamble is indeed named preamble.sty (with the correct file extension .sty).
    • Within Obsidian, check that the preamble matches the top row and not the bottom row:
    • Check that your file browser does not hide file extensions (e.g. default behaviour in Windows' File Explorer).

Example

Look at examples/stlc for an example of an obsidian vault using a preamble to define custom macros.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言