LaTeX to Markdown

pending

by Nilesh Arnaiya

Convert LaTeX documents and snippets into clean Markdown.

Updated 1mo agoDiscovered via Obsidian Unofficial Plugins
View on GitHub

LaTeX to Markdown — Obsidian Plugin

Convert LaTeX documents and snippets into clean, Obsidian-flavored Markdown with a single command.

✨ Features

  • Convert in-place — Select LaTeX text in any note and convert it instantly
  • Import .tex files — Open a file picker, select a .tex file, and get a new Markdown note
  • Paste as Markdown — Copy LaTeX from any source and paste it already converted
  • Preview before applying — Side-by-side preview modal to review the conversion
  • Configurable — Heading offsets, math delimiter style, wikilinks, and more

🔄 What Gets Converted

LaTeXMarkdown
\section{Title}## Title
\textbf{bold}**bold**
\textit{italic}*italic*
\texttt{code}`code`
$E = mc^2$$E = mc^2$
\begin{equation}...\end{equation}$$...$$
\begin{itemize} \item ...- ...
\begin{enumerate} \item ...1. ...
\begin{tabular}...\end{tabular}Markdown table
\href{url}{text}[text](url)
\includegraphics{img}![](img)
\cite{key}[key]
\ref{label}[[#label]]
\begin{verbatim}...\end{verbatim}Fenced code block
\begin{minted}{python}...\end{minted}```python ... ```

Plus: accented characters (\'eé), footnotes, abstracts, quote environments, special characters (\&, \%, etc.), and much more.

🚀 Installation

From Community Plugins (recommended)

  1. Open Settings → Community plugins → Browse
  2. Search for "LaTeX to Markdown"
  3. Click Install, then Enable

Manual Installation

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Create a folder: <your-vault>/.obsidian/plugins/latex-to-markdown/
  3. Copy the three files into that folder
  4. Restart Obsidian and enable the plugin in Settings → Community plugins

🛠 Usage

Commands (Ctrl/Cmd + P)

CommandDescription
Convert LaTeX to MarkdownConverts the selected text, or the entire note if nothing is selected
Import LaTeX file as MarkdownOpens a file picker to import a .tex file
Paste LaTeX as MarkdownReads LaTeX from your clipboard and inserts converted Markdown
Preview LaTeX to Markdown conversionOpens a side-by-side preview before applying

Ribbon Icon

Click the file-input icon in the left sidebar for quick access to the converter.

⚙️ Settings

SettingDefaultDescription
Heading offset0Shift heading levels (e.g. 1 makes \section##)
Math delimiter style$$Choose between $$ ... $$ or \[ ... \]
Use WikilinkstrueConvert \ref{} to [[#label]] vs [label](#label)
Preserve commentsfalseKeep LaTeX % comments as HTML comments
Convert citationstrueConvert \cite{} to [key] notation

🏗 Development

# Clone this repo into your vault's plugins folder
cd <your-vault>/.obsidian/plugins/
git clone https://github.com/NileshArnaiya/obsidian-latex-to-markdown.git latex-to-markdown
cd latex-to-markdown

# Install dependencies
npm install

# Build (watch mode)
npm run dev

# Production build
npm run build

📄 License

MIT — see LICENSE.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.