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.
PNG Base64, SVG XML, and PNG Blob formats..md, .png, .svg, .webp formats..md, .png, .svg, .webp, or base64 formats to a folder, then generating file links to replace the original Pintora code.




Pintora in the Obsidian Community Plugins to install it. (Recommended)..\Obsidian Vault\.obsidian\plugins folder.pintora to activate the Pintora diagram drawing feature.pintora: Use the default rendering method, which can be customized in the settings (default is SVG, recommended).pintora-svg: Force rendering as SVG.pintora-canvas: Force rendering as Canvas.```pintora
Some Pintora statements written using the Pintora DSL.
```
{ title: Example Title }.,, enclose the title in "", e.g., { title: "Hello, World!" }.```pintora { title: Example Title }
Some Pintora statements written using the Pintora DSL.
```
{ title: Example Title }, where Example Title is the attachment name.attachments folder in the current file directory, which can be modified in the settings.Note: The path starts relative to the current file directory.```pintora-canvas
activityDiagram
if (Title is set?) then (Yes)
:Use the set title;
else (No)
:Use an auto-generated attachment name;
endif
```
Copy Source Code, Copy Diagram, and Export Diagram and Link.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
```