terrastruct / d2

D2 is a modern diagram scripting language that turns text to diagrams.

Home Page:https://d2lang.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix render target board path containing "index"

gavin-ts opened this issue · comments

if board path is "index/layerA" or "layers/index" Diagram.GetBoard will not work correctly here:

https://github.com/terrastruct/d2/blob/master/d2target/d2target.go#L82