csInfo #4059
Updated by Redmine Admin 7 days ago
{{kroki(wireviz, max_width=600) {{kroki(wireviz) connectors: X1: type: D-Sub subtype: female pinlabels: [DCD, RX, TX, DTR, GND, DSR, RTS, CTS, RI] X2: type: Molex KK 254 subtype: female pinlabels: [GND, RX, TX] cables: W1: gauge: 0.25 mm2 length: 0.2 color_code: DIN wirecount: 3 shield: true connections: - - X1: [5,2,3] - W1: [1,2,3] - X2: [1,3,2] - - X1: 5 - W1: s }} The diagram above is shown by just simply put sample diagram code copied from [kroki.io](https://kroki.io) inside a macro. The macro language is described in [redmine-kroki](https://github.com/JeffDess/redmine-kroki) plugin page. This is the exact code: ``` {{kroki(wireviz, max_width=600) {{kroki(wireviz) connectors: X1: type: D-Sub subtype: female pinlabels: [DCD, RX, TX, DTR, GND, DSR, RTS, CTS, RI] X2: type: Molex KK 254 subtype: female pinlabels: [GND, RX, TX] cables: W1: gauge: 0.25 mm2 length: 0.2 color_code: DIN wirecount: 3 shield: true connections: - - X1: [5,2,3] - W1: [1,2,3] - X2: [1,3,2] - - X1: 5 - W1: s }} ```