facelessuser / MarkdownPreview

Markdown preview and build plugin for Sublime Text https://facelessuser.github.io/MarkdownPreview/
Other
405 stars 53 forks source link

Replace fenced diagram sources with kroki permalinks #116

Closed cadam11 closed 4 years ago

cadam11 commented 4 years ago

I'm using this for myself and thought others may find it useful too. I only included the kroki schemes that I personally tested and found useful.

facelessuser commented 4 years ago

Unfortunately, this is a fragile approach. That is why I created and added SuperFences in this project. You can create custom fences already with that extension (though ours is a little behind and should be updated here): https://facelessuser.github.io/pymdown-extensions/extensions/superfences/#custom-fences.

cadam11 commented 4 years ago

Thanks for the review. I appreciate that using pymdown-extensions is a better overall solution suitable for a wider audience. My goal was to avoid relying on the markdown renderer for creating a diagram image in favour of using a remote resource, so this fits what I'm looking for.

facelessuser commented 4 years ago

Understood. I imagine in a lot of simple cases this would work fine for you, but in more complex cases it would break. Unfortunately, taking on something like this would cause me to have to field a lot of issues for those who run into those corner cases.