Skip to content
This repository has been archived by the owner on Dec 20, 2017. It is now read-only.

PlainUML integration #249

Open
damluar opened this issue Oct 16, 2015 · 2 comments
Open

PlainUML integration #249

damluar opened this issue Oct 16, 2015 · 2 comments
Labels

Comments

@damluar
Copy link

damluar commented Oct 16, 2015

Hello,

thank you for the plugin. I tried to preview markdown document with embedded plainuml (http://plantuml.com/) diagrams, but it shows them as simple text.
Intellij has a separate plugin for plainuml, but I want diagrams to be part of my documentation and not a separate documents.
Is it possible to integrate diagrams into preview somehow?

@vsch
Copy link

vsch commented Nov 10, 2015

@damluar, PlantUML requires that the source be sent to the server for processing and the image URL replaced with a server generated one. Gravizo lets you specify the UML in the image src tag so that no pre-processing is necessary.

It appears that this plugin has been abandoned by its author. So I doubt new features such as PlantUML support will be added, unless someone does it and releases it as a new plugin. That was my motivation for forking this project and releasing it as new plugin. Otherwise there was no way to make the updated version available to anyone but me.

I don't know how compatible is the syntax of PlantUML and Gravizo gravizo is another option for server generated UML. Unfortunately the swing image rendering used by this plugin does not handle the images returned from gravizo so even that is not a solution.

I was only able to make the preview work in my plugin: idea-multimarkdown on GitHub and idea-multimarkdown JetBrains plugin page in the JavaFX WebView preview and only by using the HTML img instead of the markdown image link syntax. In all cases the swing based preview complained about the image format, so it was not usable.

Here is a split screen view of source and preview of gravizo generated images:

screen shot 2015-11-10 at 11 44 32 am

@nicoulaj
Copy link
Owner

Notice: This plugin is no more maintained and it has been removed from Jetbrains plugins repository. There is a Markdown plugin officially supported by Jetbrains.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants