Obsidian¶
-
Get the plugin. Download
feynjs-obsidian.zipfrom the latest release and unzip it. It holds one folder,feynjs. -
Put it in your vault. Move the
feynjsfolder into your vault's plugin folder,<vault>/.obsidian/plugins/. The folder.obsidianis hidden: on a Mac press Cmd+Shift+. in Finder to show it. -
Turn it on. In Obsidian, open Settings → Community plugins, turn off Restricted mode if asked, then switch on feynjs.
-
Write a diagram in any note, in a
feynmancode block:
Demo¶
The block above draws this diagram, in Obsidian's text colour:
Any diagram on this site works in a note. Here is the same one, written as edges, as in TikZ-Feynman:
Build the plugin yourself¶
To build the plugin from a checkout instead, run node integrations/obsidian/build.mjs and copy
integrations/obsidian/dist/feynjs into the plugin folder.
Next¶
- Your first diagram: what each line of a diagram means.
- Write edges, as in TikZ-Feynman or write processes, as in MadGraph.
- Examples: hundreds of diagrams with their source.