Markdown Pro 🐌 -- markdown to HTML converter

Just to make sure I understood: you would like to have an action instead of a visual element? Are you trying to execute this action on the frontend or backend?

If on the frontend, you could probably accomplish what I imagine you’re trying to do roughly like this:

  1. create a group – let’s call it wrapperGroup
  2. put the md-to-html element inside of it.
  3. set the wrapperGroup data type to text
  4. link the md to convert field to the the wrapperGroup’s value.
  5. in your workflow, do a display data in wrapperGroup
  6. then do something with md-to-html's html output.

If it’s for the backend, that action doesn’t yet exists but I could create it.

@rico.trevisan Great solution! Is there a convenient way to set attributes within links other than using find & replace?

I’d like all links to be set to target=ā€œ_blankā€ and rel=ā€œnofollowā€

I’ve added a new option for open in new window, defaults to false, the previous behavior.

For the nofollow, I’ve looked through the ShowdownJS repo (and a few other repos like Marked, Markdown-it…) but I didn’t find a simple way to do that. So it will have to be find and replace for the moment.

Something changed recently in how the plugin renders single returns (new lines). For example:

Night whispers his name,
Caped crusader in moonlight,
Darkness fights with light.

Will render as a single line of text like this:

Night whispers his name, Caped crusader in moonlight, Darkness fights with light.

I don’t think it used to do that. Am I hallucinating?

Release 2.5.0 - Bubble action to convert

The plugin can now convert and return the HTML.

2024-06-05 12.00.41

I thought it was this setting


… but I was wrong.

Even the demo page has that same issue: http://demo.showdownjs.com/

Maybe (hard) refresh the editor? It’s showing up in the demo app: Markdown-pro | Bubble Editor

Hi @rico.trevisan - yes the showdown-katex plugin should do the trick for mathematical formula

But are we able to make it compatible with what the gpt markdown api returns ?

did you ever get this working?

Just open a WIP project and realized the HTML render looks awkward. ANy ideas?

Thanks, it looks like the CSS is messed up. I think Tailwind sunsetted the CSS utility I was using.

Thanks to you.
So, is it something you should fix at your end only or anyone can try to solve? (sorry for my ignorance but don want to learn about CSS, just want my stuff done)

You can create your own stylesheet to handle this.

At the same time, I’m working on a little plugin to be able to more easily style the output of this markdown plugin. But it will take me some time.

hey @rico.trevisan , so far amazing and useful plugin. I’m using it to load MD from GH repo and works nicely except for relative paths for images. Maybe something you may consider to improve in upcoming versions. Meanwhile I will create a script to force a full URL

Anyway we can convert html back to md?
using html editor to easily edit the table formatting and then putting back into md to save it

Release - 2.6.0 - Latex

Add note of deprecation of tailwind-prose.

Finally added it. It’s using the default settings, check it out and let me know if you need some other settings.

Just incase anyone else need this and @rico.trevisan , cool plugin.

I used is some time ago then came back and had added the legacy tailwind part but realised it was depreciated and the stylings didn’t do what i expected without it, so … i found this which worked for me: GitHub - fondoger/tailwindcss-cdn: Leverage CDN network jsdelivr/unpkg to provide fast access for TailwindCSS static files. (TailwindCSS's official Play CDN is slow and not proxied in China)

Awesome!! :heartbeat: Thank you so much for this!! really appreciate - this brings so much value to our classroom learning .

Just wonder if its anything I am doing wrongly to displaying this? seems to display with additional code at the back in code block. - any advice will be great! thanks!!

Release 2.7.0: HTML to MD converter

Like this project? Find a way to support the maintainers of these projects (:star: star on Github, :euro_banknote: donate, write a kind letter :love_letter:…):