Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Markdown Table to LaTeX

pengivy1990pengivy1990

Convert Markdown tables to LaTeX array/tabular environments. 将选中的 Markdown 表格转换为 LaTeX 表格。

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

一个 Obsidian 插件,将选中的 Markdown 表格一键转换为 LaTeX array 环境,支持 MathJax 渲染。

功能

  • 选中 Markdown 表格 → 转换为 LaTeX 表格
  • 支持可选的表格标题
  • 自动去除单元格内行内公式的 $ 符号(已在 $$ 环境内,无需重复)
  • 自动解析 Markdown 对齐方式(:---、:---:、---:)
  • 左侧功能区图标 + 命令面板两种触发方式

安装

手动安装

  1. 下载 最新 Release 的 main.js 和 manifest.json
  2. 将两个文件放入 vault 的 .obsidian/plugins/md-table-to-latex/ 目录
  3. Obsidian → 设置 → 第三方插件 → 启用 Markdown Table to LaTeX

从源码安装

git clone https://github.com/pengivy1990/md-table-to-latex.git
cp md-table-to-latex/*.js md-table-to-latex/manifest.json /你的vault/.obsidian/plugins/md-table-to-latex/

使用

方式一:功能区图标

点击左侧 Ribbon 栏的表格图标 → 弹窗输入标题(可选)→ 确认后自动替换选中表格。

方式二:命令面板

  1. 在编辑器中选中 Markdown 表格
  2. Ctrl+P(或 Cmd+P)打开命令面板
  3. 搜索 Convert Markdown Table to LaTeX 并回车
  4. 弹窗输入标题(可选)→ 确认

输入格式

插件接受标准 Markdown 表格:

| 变量   | 观测值 |  均值  |
| :----- | :----: | ----:  |
| $Res$  | 4656   | -0.616 |
| $Rfor$ | 4656   | 0.359  |

输出格式

有标题:

$$
\begin{array}{c}
\text{表1:描述性统计} \\[4pt]
\begin{array}{clr}
\hline
变量 & 观测值 & 均值 \\
\hline
Res & 4656 & -0.616 \\
Rfor & 4656 & 0.359 \\
\hline
\end{array}
\end{array}
$$

无标题:

$$
\begin{array}{clr}
\hline
变量 & 观测值 & 均值 \\
\hline
Res & 4656 & -0.616 \\
Rfor & 4656 & 0.359 \\
\hline
\end{array}
$$

开发

插件源文件在 main.js,可编辑后直接替换 vault 中的同名文件,然后在 Obsidian 中重载插件即可生效。

# 在 D:\plugins\md-table-to-latex 编辑
# 然后复制到 vault
cp main.js /你的vault/.obsidian/plugins/md-table-to-latex/main.js

License

MIT

91%
HealthExcellent
ReviewSatisfactory
About
Convert selected Markdown tables into LaTeX array environments wrapped in $$ for MathJax rendering. Parse Markdown alignment for column formatting, strip redundant $ from inline math, and insert an optional table caption.
TablesLaTeXMath
Details
Current version
1.0.1
Last updated
18 hours ago
Created
3 days ago
Updates
2 releases
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
pengivy1990pengivy1990pengivy1990
GitHubpengivy1990
  1. Community
  2. Plugins
  3. Tables
  4. Markdown Table to LaTeX

Related plugins

Quick Latex

Simplify and speed up LaTeX math typing.

Calctex

Calculate LaTeX formulas.

Extended MathJax

Enable additional MathJax packages and adds a global preamble for MathJax.

Latex Suite

Make typesetting LaTeX math as fast as handwriting through snippets, text expansion, and editor enhancements.

Typst Mate

Render math expressions with Typst instead of MathJax.

CalcCraft

Enable table-based calculations with a spreadsheet-like approach, utilizing references. Highlight the dependencies within tables and identifies circular references with support for array formulas.

Desmos

Embed Desmos graphs into your notes.

MathLive

Faster and more intuitive MathJax editing using MathLive.

Simple Table Math

Do some math (sum, average, etc.) in your markdown tables.

LaTeX Panel Helper

Provides a convenient panel with categorized LaTeX symbols, real-time search, and a pop-out window to enhance your mathematical note-taking efficiency!