Crate mdbook_svgdx

Source
Expand description

An mdbook preprocessor for svgdx fenced code blocks.

Example markdown:

# svgdx code block example

```svgdx
<svg>
 <rect wh="20 5" text="Hello World!"/>
</svg>
```

The above code block will be transformed into an inline SVG image.

For more information on mdbook preprocessors, including a nop-processor which this is heavily based on, see the preprocessor developer docs

Structsยง

SvgdxProc