You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm implementing a preprocessor that generates plantuml diagrams. It extracts codeblocks with the plantuml language, renders the SVG, and then places a markdown element to reference the image.
While I write my mdbook with mdbook serve I'm finding that I must place these rendered files in the src directory in order for them to appear in the book directory. If my preprocessor tries to put these files into the book path directly, they're immediately nuked.
Is there a way to programmatically tell mdbook that these dynamically created files are valid so they're not removed?
The text was updated successfully, but these errors were encountered:
niko-dunixi
changed the title
Preprocessor cannot add folders/files directly to build directory
Preprocessor cannot add folders/files directly to book directory
May 13, 2020
Hello!
I'm implementing a preprocessor that generates plantuml diagrams. It extracts codeblocks with the plantuml language, renders the SVG, and then places a markdown element to reference the image.
While I write my mdbook with
mdbook serve
I'm finding that I must place these rendered files in thesrc
directory in order for them to appear in thebook
directory. If my preprocessor tries to put these files into thebook
path directly, they're immediately nuked.Is there a way to programmatically tell mdbook that these dynamically created files are valid so they're not removed?
The text was updated successfully, but these errors were encountered: