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

Pintora

amiasleeamiaslee412 downloads

Generates diagrams using Pintora.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

English | 中文


Introduction

Obsidian-Pintora is an Obsidian plugin based on Pintora, which allows users to create diagrams using Pintora syntax directly in the Obsidian editor. It's local, secure, fast, and easy to use.

Pintora is a diagramming tool similar to Mermaid and PlantUML, which generates diagrams by parsing its own language, much like how Markdown works. It presents content in an intuitive and easily understandable way. For a detailed explanation of Pintora's syntax and capabilities, refer to the Pintora Language Reference Guide.

Obsidian is a writing tool that supports editing, previewing, and managing Markdown files. It has a vibrant community with many high-quality community plugins available. The editor supports CommonMark, GitHub Flavored Markdown, and LaTeX syntax, along with some Obsidian-flavored Markdown extensions. For more details on the editor's features and usage, check out the Obsidian User Guide.


Features

  1. Diagram Creation: Parse Pintora language to generate diagrams.
  2. Copy Diagrams: Copy diagrams to the clipboard in PNG Base64, SVG XML, and PNG Blob formats.
  3. Export Diagrams: Export diagrams to .md, .png, .svg, .webp formats.
  4. Convert to Links: Convert Pintora code to attachment links by exporting diagrams in .md, .png, .svg, .webp, or base64 formats to a folder, then generating file links to replace the original Pintora code.
  5. Diagram Lightbox: Center and enlarge diagrams to display them fully and clearly.
  6. Responsive Size: Dynamically adjust the diagram size based on the original ratio and available space.
  7. Custom Themes: Choose themes and edge types, and customize theme styles by inputting theme variables.
  8. Other Features: Return error messages, fold/unfold diagrams, custom diagram titles, and custom attachment names.

Demo

Diagram Creation

diagram-creation

Diagram Lightbox

diagram-lightbox

Custom Title

custom-title

Copying, Exporting, and Linking Diagrams

context-menu

Theme and Style

theme-and-style


Installation

  1. Search for Pintora in the Obsidian Community Plugins to install it. (Recommended)
  2. Manually download the plugin package, and place it in the ..\Obsidian Vault\.obsidian\plugins folder.

Usage

Activate Pintora Diagram Functionality

  • Start a code block with ``` and enter pintora to activate the Pintora diagram drawing feature.
  • Supported language labels:
    1. pintora: Use the default rendering method, which can be customized in the settings (default is SVG, recommended).
    2. pintora-svg: Force rendering as SVG.
    3. pintora-canvas: Force rendering as Canvas.
```pintora
Some Pintora statements written using the Pintora DSL.
```

Custom Titles

  • Add a space after the language tag ```pintora and input { title: Example Title }.
  • Note: Follow standard JSON formatting as closely as possible. If you need to use commas ,, enclose the title in "", e.g., { title: "Hello, World!" }.
```pintora { title: Example Title }
Some Pintora statements written using the Pintora DSL.
```

Custom Attachment Names

  • Use the title name as the attachment name by adding a space after the language tag ```pintora and input { title: Example Title }, where Example Title is the attachment name.
  • Attachments are exported by default to the attachments folder in the current file directory, which can be modified in the settings.Note: The path starts relative to the current file directory.
  • If no title is set, an attachment name is automatically generated according to certain rules.
```pintora-canvas
activityDiagram
if (Title is set?) then (Yes)
    :Use the set title;
  else (No)
    :Use an auto-generated attachment name;
  endif
```

Diagram Lightbox Functionality

  • Click on the diagram to open the lightbox and display the diagram fully and enlarged.

Right-Click Menu Functionality

  • Right-click on the diagram to activate the context menu.
  • Available functions include: Copy Source Code, Copy Diagram, and Export Diagram and Link.
  • All features are available in edit mode, but the Export Diagram and Link function is not available in preview mode.
```pintora-svg
mindmap
* Right-Click Menu
** Copy Source Code
*** Copy the Pintora source code
** Copy Diagram
*** Copy PNG (Base64)
*** Copy SVG (XML)
*** Copy PNG (Blob)
** Export and Link
*** Export .md file
*** Export .png file
*** Export .svg file
*** Export .webp file
*** Export PNG (Base64) file
** Convert to Links
*** Generate .md link
*** Generate .png link
*** Generate .svg link
*** Generate .webp link
*** Generate PNG (Base64) link
```

Custom Theme Styles

  • In the settings under the theme variables options, input theme variables in standard JSON format.
  • For more details on theme variable settings, refer to Pintora Theme Configuration.

Roadmap

  1. Fix bugs
  2. Track Pintora updates and synchronize versions
  3. No new features will be added
58%
HealthGood
ReviewRisks
About
Create diagrams from Pintora syntax directly in Obsidian, render responsive diagrams with lightbox viewing, custom themes, edge styles, titles and error reporting. Export or copy diagrams as PNG, SVG, WebP, MD or Base64 and convert Pintora code blocks to attachment links for embedding.
VisualizationSyntaxExport
Details
Current version
1.0.0
Last updated
2 years ago
Created
2 years ago
Updates
1 release
Downloads
412
Compatible with
Obsidian 1.0.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
amiasleeamiaslee
github.com/amiaslee
GitHubamiaslee
  1. Community
  2. Plugins
  3. Visualization
  4. Pintora

Related plugins

Mermaid View

Handle Mermaid files as first-class citizens, rendering them fullscreen when opened.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Mermaid Tools

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

Maps

Adds a map layout to bases so you can display notes as an interactive map view.

Life Tracker

Capture and visualize the data that matters in your life.

Pandoc Plugin

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

Strange New Worlds

Reveal networked thought and the strange new worlds created by your vault.

Charts

Easily create interactive charts in your notes.

Kroki

Render Kroki diagrams.