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

LuaTikZ

Sharbel MarshiSharbel Marshi902 downloads

Fast LuaLaTeX TikZ rendering with full library support, live preview, RTL support, and simple diagram helpers.

Add to Obsidian
LuaTikZ screenshot
  • Overview
  • Scorecard
  • Updates22

Fast LuaLaTeX TikZ rendering with full library support, live preview, a visual touch/stylus TikZ editor, RTL support, and simple diagram helpers.

Render tikz and luatikz fenced code blocks in Obsidian. Desktop can use local LuaLaTeX or TikZJax; mobile uses TikZJax. Enable LuaTikZ under Settings → Community plugins and choose your prefered Renderer.

Floating live preview

What's new

  • Visual TikZ editor the floating preview now has an Edit mode which opens a full window with the editor filling the pane: which contains shapes, selection tools, function plotter, circuit components, handwriting, styiling and much more. Details
  • Freehand ink strokes are smoothed, simplified, and fitted to editable Bézier paths, with an adjustable smoothing setting.
  • Touch, stylus, and Apple Pencil one finger pans, two fingers pinch-zoom; an explicit Finger draw toggle makes one finger draw; a pen always draws, with practical palm rejection while it's near the glass.
  • Floating preview on mobile the inline live preview (and the Edit mode) now works on iPad, Android tablets, and phones, rendering through TikZJax. Details

Visual Editor

Requirements

Mobile (iOS / Android)

LuaTikZ runs on Obsidian mobile. Diagrams render in reading view through the bundled TikZJax runtime so there is no need for a local TeX install and no shell access required.

Desktop

For a full support of libraries, a Local LuaLatex (recommended) is required and choose Local Lualatex renderer through plugin's settings

  • LuaLaTeX (MacTeX or TeX Live)
  • pdftocairo for PDF → SVG (brew install poppler on macOS)

For regular use keep TikzJax Renderer and there is no need for a local TeX install.

Usage

```tikz or ```luatikz
\begin{tikzpicture}
.
.  -> tikz code here
.
\end{tikzpicture}
```

If you are interested in learning to code with TikZ, I suggest this website: Tikz.org

Features

  • Background grid: Add an optional centimeter-based grid behind rendered diagrams. Details
  • RTL labels: Use Hebrew and Arabic labels with LuaLaTeX shaping and a TikZJax fallback. Details
  • Built-in helpers: Use diagram macros, autocomplete, snippets, node anchors, and relative-coordinate suggestions. Details
  • Live preview and coordinate picking: Preview diagrams while editing, pick coordinates on desktop, and locate source statements from rendered shapes. Details
  • Visual editor (Edit mode): Draw and edit native TikZ visually with shapes, circuits, styling, freehand input, touch and stylus support, and two-way source sync. Details
  • Editor assistance and export: Get line-aware editing, linting, templates, formatting, auto-close helpers, and SVG or PNG export. Details
  • Errors and editing: LuaTikZ maps compile failures back to the diagram, highlights affected lines, and offers plain-language explanations and suggested fixes when possible. Details
  • Settings: Choose renderers, fonts, preambles, caching, dark-mode behavior, editor assistance, and environment checks. Details
  • Renderers: Use local LuaLaTeX for the full TeX toolchain or bundled TikZJax for shell-free and mobile rendering. Details
  • Security and permissions: Local rendering is opt-in and narrowly scoped; the detailed guide explains shell execution, temporary files, clipboard access, and bundled dependencies. [Details](
  • Hover-to-locate: moving the pointer over a shape in the floating preview highlights the statement that drew it. Details
  • PNG export: the toolbar button is now Export with a format menu for SVG or PNG. Details
  • Explained errors: opaque LaTeX failures such as Dimension too large now come with a plain-language explanation of the cause and the fixes that work. Details
  • Font settings: override the main, Hebrew and Arabic fonts. Details
  • Custom preamble: replace the generated LuaLaTeX preamble entirely, with buttons to load the current one or reset. Details
  • Hebrew/Arabic load only when used: and per script, so a Hebrew diagram no longer pulls in the Arabic gloss that minimal TeX installs lack. Details

Samples

Diagrams rendered with LuaTikZ, exported as SVG. Files in samples/.

Astronomy

Astronomy

Anatomy

Heart anatomy Eye anatomy
Neural anatomy Airflow path

Circuits and logic

Circuit diagram 1 Circuit diagram 2
Circuit diagram 3 MOSFET P-channel
Logic gates 1 Logic gates 2

Math and decision diagrams

PDE diagram Decision matrix

Maps and layouts

Train routes Isometric city

License

MIT — see LICENSE.

HealthExcellent
ReviewSatisfactory
About
Render TikZ code blocks with your local LuaLaTeX, including full package and TikZ library support (pgfplots, circuitikz, math mode and standard LaTeX commands). Get live inline previews, helper macros and autocomplete, export or copy SVG, map LaTeX errors to block lines, and support RTL/Hebrew with optional dark-mode inversion.
LaTeXDrawingExport
Details
Current version
1.9.7
Last updated
Last month
Created
3 months ago
Updates
22 releases
Downloads
902
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Sharbel MarshiSharbel Marshisharbelmarshi
GitHubsharbelmarshi
  1. Community
  2. Plugins
  3. LaTeX
  4. LuaTikZ

Related plugins

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Latex Suite

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

Mermaid Tools

Improved Mermaid.js experience: visual toolbar with common elements and more.

Ink

Handwriting and drawing directly between paragraphs using a digital pen, stylus, or Apple pencil.

Slides Extended

Create markdown-based reveal.js presentations. Fork of Advanced Slides.

TTRPG Tools - Maps

A toolbox for interactive fantasy maps.

Pandoc Plugin

Commands to export to Pandoc-supported formats like DOCX, ePub and PDF.

Voice

Listen to your notes as natural speech with text-to-speech (TTS). Read notes aloud, play them like an audiobook in the voice player, download MP3 audio and listen offline hands-free on mobile.

Yanki

Sync flashcards from a folder in your vault to Anki. Pure Markdown syntax. No fuss.

Wechat Converter

将 Markdown 转换为微信公众号排版,并支持一键发送到微信公众号(支持自定义 CSS和公众号贴图)、飞书、小红书、知乎、微博、CSDN等20+平台。