Closed cben closed 6 years ago
Markdeep has a brilliant take on ascii-art -> diagram conversion: instead of requiring some semantic structure from the whole diagram, it locally beautifies lines/arrows/corners, while keeping the global fixed-width layout. Which makes it a pefrect match for mathdown's in-place styling.
Should attempt a proof-of-concept when (if?) Markdeep is released as open source. It is, BSD licensed
However it won't be particularly usable without editing support. Same as tables, only harder. Actually CM 4's multiple cursors should offer quite a lot of power in skilled hands. I wonder if there is a low-hanging, discoverable way to surface some of that power. Perhaps automatically do rectangular selections in tables & diagrams?
https://kroki.io/ is an excellent API to render all kinds of diagrams from source.
After rendering images (#18), it would be nice to render sequenceDiagram, graph etc. Haroopad has it builtin: http://pad.haroopress.com/page.html?f=how-to-draw-diagram http://knsv.github.io/mermaid seems to be the leading implementation.
OTOH, once I have images, http://www.gravizo.com/ is a usable workaround (and would work better elsewhere).