marcozaccari / markdown-diagrams-browser-extension

A browser extension for Chrome, Edge, Opera and Firefox that renders markdown diagrams and charts code blocks into preview images.
MIT License
60 stars 29 forks source link

Doesn't work in Confluence #9

Open jeromegit opened 1 year ago

jeromegit commented 1 year ago

Very cool extension but unfortunately it doesn't seem to work in Confluence. :-( Does the page being viewed/rendered need to have a .md extension for it to work?

mbourgon commented 1 year ago

@jeromegit the way I got it to work was to create a block of markdown in the page (easiest way: hit { then type "mark" and hit enter), and then paste it in

jeromegit commented 1 year ago

Thank you for getting back to me, @mbourgon! The {mark doesn't work for me as we don't seem to have a macro that has "mark" in it. On the other hand, I can click on the [+] in the top toolbar and select Markup (Ctrl-Shift-D) but that doesn't seem to work either. :-(

mbourgon commented 1 year ago

Thank you for getting back to me, @mbourgon! The {mark doesn't work for me as we don't seem to have a macro that has "mark" in it.

On mine, it's pretty much hidden by the cursor, but unsure if that's a default macro. image

image

On the other hand, I can click on the [+] in the top toolbar and select Markup (Ctrl-Shift-D) but that doesn't seem to work either. :-(

When you do the Markup, What does it want to insert, markdown or confluence? Mine has a Markdown option, and that works.

image

jgwinner commented 11 months ago

I couldn't get that to work at all. Typing { does nothing, even if I type {mark or { mark

Turned out I didn't have it turned on in the extensions - but even doing that did nothing.

I tried pasting in:

@startuml
(*) --> "Initialization"

if "Some Test" then
-->[true] "Some Action"
--> "Another Action"
-right-> (*)
else
->[false] "Something else"
-->[Ending process] (*)
endif

@enduml

which interestingly looks great on github!

But not a Confluence space :(

Didn't seem to work on Notion either? I can paste Mermaid into Notion though - not as good as Dynamic Structurizr but it's a start.