You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wiki/server/modules/rendering/markdown-wireviz
petrosilius 57d80e25b7
Feat: add wireviz-web based wireviz syntax renderer
3 months ago
..
README.md Feat: add wireviz-web based wireviz syntax renderer 3 months ago
definition.yml Feat: add wireviz-web based wireviz syntax renderer 3 months ago
renderer.js Feat: add wireviz-web based wireviz syntax renderer 3 months ago

README.md

WireViz Renderer

This provides a WireViz Markdown renderer plugin for Wiki.js, allowing you to embed WireViz diagrams directly in Wiki.js pages. Diagrams are rendered via a WireViz-Web server, either locally or remotely.

Install

Test

Add this to your Markdown page

```wireviz
connectors:
  X1:
    type: Molex 39-29-9042
    pinlabels: [GND, +12V]
  X2:
    type: Molex 39-29-9042
    pinlabels: [GND, +12V]

cables:
  W1:
    gauge: 18 AWG3
    length: 1.5
    color_code: DIN
    wirecount: 2
    shield: true

connections:
  -
    - X1: [1,2]
    - W1: [1,2]
    - X2: [1,2]
```