{"repo":"d2lang/d2-obsidian","free":true,"listed":false,"github":"https://github.com/d2lang/d2-obsidian","clone":"git clone https://github.com/d2lang/d2-obsidian.git","description":"The official D2 plugin for Obsidian. D2 is a modern diagram scripting language thats turns text to diagrams.","language":"TypeScript","stars":308,"topics":["diagramming","diagrams","obsidian","software-architecture","text-to-diagram"],"license":"MPL-2.0","category":"productivity","readme_excerpt":"D2 Obsidian Plugin D2 is a modern diagram scripting language thats turns text to diagrams. The source code for D2, as well as install instructions and all other information, can be found at https://github.com/d2lang/d2. https://user-images.githubusercontent.com/6413609/205414613-5b2559f1-0645-4432-bb7b-d980de527201.mp4 Installation Settings Community plugins Browse Search for \"D2\" important : D2 must be installed for this plugin to work currently. We will later on introduce a remote API as an option, but currently this plugin calls your local installation of D2. Configurations - Layout engine : D2 supports multiple layout engines, which can significantly affect the look of your diagram. - Theme ID : For a list of available themes, visit the D2 repository. - Pad : Number of pixels padded around the rendered diagram. - Sketch mode : Render the diagram to look like it was sketched by hand. - Container height : Diagram max render height in pixels (Requires d2 v0.2.2 and up). - Debounce : Number of milliseconds to wait after a change has made to refresh the diagram (min 100). - Path : Customize the path to d2 (optional). We check common places D2 might be installed, along with your system path. However, your OS or setup may require you to input your path to d2 manually. To do so, type where d2 into your terminal, and copy everything in the path up until /d2 and paste it into this configuration. Usage Create a fenced codeblock with d2 as the language tag: How to run this plugin loc","default_branch":null,"files":null,"tree":[],"storefront":"/r/d2lang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/d2lang/d2-obsidian/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}