Vimwiki: Add ability to diagram in vimwiki

Created on 7 Oct 2017  路  5Comments  路  Source: vimwiki/vimwiki

ditaa is a commandline tool to convert ascii art to diagrams, q.v. http://ditaa.sourceforge.net/

Could vimwiki support adding diagrams from a ditaa format ascii art to make diagrams when converting to html via the Vimwiki2HTML command?

contributors wanted enhancement

Most helpful comment

Im adding another idea: support for the DOT language. Im aware that it may not be the use case you are looking for, but it may prove useful to you.

All 5 comments

Im adding another idea: support for the DOT language. Im aware that it may not be the use case you are looking for, but it may prove useful to you.

I'm also interested in diagrams one way or the other.

Both could be supported (and more) if it would be possible to pass parts of the document through an external command that returns an image.

I would not be opposed to this idea, but likely do not have the bandwidth to implement it currently.

I think it makes more sense to use a different plugin or external tool for this functionality. Here are a few options:

Here is a link with plantuml using ditaa: http://plantuml.com/ditaa
Maybe plantuml itself would be a viable alternative?

I'm not that attached to ditaa. But I would like to see ascii graphs, because text seems the most durable format. And, I would like to have the option for making them pretty by translating them into an image.

Dot (graphviz) has some merit, but it can be hard to see, interpret the graphs without rendering the dot code. I imagine that the vimwiki community might want both.

I'm adding this comment to document the existence of plantuml for any future effort to provide graphing capabilities for vimwiki.

Was this page helpful?
0 / 5 - 0 ratings