boozook / mdbook-svgbob

SvgBob mdbook preprocessor which swaps code-blocks with neat SVG.
Mozilla Public License 2.0
76 stars 8 forks source link

Only process code fences with a 'process' flag present #1

Open brendanzab opened 3 years ago

brendanzab commented 3 years ago

Hey, thanks for the preprocessor!

I've noticed that mdbook-graphviz requires a process flag to be present before processing them as graphviz diagrams:

```dot process
digraph {
    processed -> graph
}


Just as a matter of 'preprocessor hygiene', it would be really cool if `mdbook-svgbob` did similar! This would mean you could talk _about_ `bob` documents as well as processing them as SVGs. I realise this is a breaking change though.
boozook commented 1 year ago

Hey 👋 That's easy change but I have a questions. If it steel relevant off course.

I'm not quite sure what it's for exactly. Could you explain purposes of this?