Closed kidomine closed 5 years ago
@kidomine, plant UML integration is part of the basic plugin and does not require the licensed version.
There is a bug in the released version that does not save a change in puml language parser setting. You either need to change another setting in addition to the PlantUML extension checkbox so that the settings page detects a change in setting.
Alternately, you can use the EAP channel and install a fixed plugin.
EAP update with a fix for the issue is available.
@vsch Thanks for the quick response. I tried EAP as you suggested, and I am now using v2.8.4.16. However, I still can't render PlantUML diagrams in fenced code.
I also tried the following configurations, all of which failed (i.e. PlantUML is not rendered):
Markdown->Preview->HTML Generator
: Swing vs JavaFxMarkdown->Preview->HTML Generation->HTML Generator
: Swing vs JavaFxMarkdown->Preview->HTML Generation->PlantUML Rendering
: Embedded Library vs Gravizo SVG/PNGI also observed that while the Markdown Copy Action
is enabled in the preview pane, the dropdown items are all disabled (e.g. clicking on Export Rendered HTML
, etc. does not do anything).
This seems to be an issue in the Preview Pane itself. Is there any way we can narrow down the issue?
If there are additional info that you need, just let me know.
Below are my sample tests and the corresponding preview.
```puml class A { +field1: string } ``` ```plantuml class B { +field1: string } ``` ~~~puml class C { +field1: string } ~~~ ~~~plantuml class D { +field1: string } ~~~
@kidomine, I am using the same configuration as you have described, including PlantUML plugin which I have installed in all my iDEs, and I cannot duplicate the issue. The only difference is that I am running on PyCharm not PyCharm CE. I will try the latter to see if there is a difference.
Both Swing and JavaFX browsers work.
The following settings are used, with relevant settings highlighted:
@kidomine, the export and copy functionality is only available in the enhanced edition so the items for these actions are disabled in the basic edition.
@kidomine, same for PyCharm CE. Renders correctly.
The image cache is located in the user home directory under ~/.markdownNavigator/image-cache
it should include all images generated or converted from SVG. When running the IDE can you see this directory?
@vsch It seems the culprit are the last checkboxes under Parser
(i.e. XXX fenced code
settings). It seems these are disabled by default, which gave me an impression that the rendering does not work.
My environment is OK now, and I already switched back to official release instead of EAP. I did not try to downgrade to the previous official release, but I think it should still be OK.
Re the export functionality, I understand.
Also, ~/.markdownNavigator/image-cache
seems fine, I can see the PNG contents there now.
Thanks for the quick responses!
I will close this issue now.
PlantUML diagrams are not rendered on my setup (see below). Bundled Markdown plugin for PyCharm is disabled. I also have a separate PlantUML Integration plugin which works fine on its own.
I also tried the following:
I also observed this in another computer (Windows 10, same PyCharm version).
System Configuration:
Is this feature supposed to be for enhanced version of Markdown Navigator only?