sytsereitsma / mdbook-plantuml

mdBook preprocessor to render PlantUML diagrams to png images in the book output directory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can rendering failures be caught at build time?

ophilli opened this issue · comments

Currently if I have a plantuml diagram that has a syntax error, or if there is some issue with my plantuml executable the only way to know is to load my document & see that the plantuml rendering failed.

It would be nice for mdbook build to fail and alert me that my plantuml was bad.

Looks like mdbook's preprocessor trait is expecting a result, and mdbook-plantuml could be extended to return an error if the rendering had failed.