b-yp / logseq-d2

Logseq D2 plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logseq d2 plugin

semantic-release

Demo

demo

Usage

  • Use the slash command /d2 to generate a d2 code block, enter the d2 code, and click other places with the mouse
  • Enter the second and third parameters in the renderer to set the width and height, such as the width of 100px and the height of 200px
    • {{renderer :d2_lang_gkkbq, 100, 200}}

See d2 for more syntax

Thanks

About

Logseq D2 plugin

License:MIT License


Languages

Language:TypeScript 79.1%Language:JavaScript 12.9%Language:HTML 8.0%