Skip to content

wodeni/obsidian-penrose-plugin

Repository files navigation

obsidian-penrose

This is a plugin for making diagrams in Obsidian using Penrose.

This plugin is currently under development and not published yet.

Getting Started

  • Clone this repository into .obsidian/plugins of your vault.
  • Run npm install in the repo and then npm run build.
  • Go to "Installed Plugins" and enable Penrose.
  • For development, use the hot-reload plugin and npm run dev for hot-reloading.

Example

Currently, the plugin hard-codes the Domain and Style files to be simple-directed-graph from graph-domain. The plugin recognizes markdown code blocks with the penrose tag and renders diagrams such as:

```penrose
Vertex a, b, c, d

Arc(a, b)
Arc(a, c)
Arc(a, d)
Arc(b, d)
Arc(c, d)

Label a "𝑎"
Label b "𝑏"
Label c "𝑐"
Label d "𝑑"
```

About

A plugin for Obsidian that allows you to make diagrams with Penrose (https://penrose.cs.cmu.edu/).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published