Jump to content
John Kouraklis

Conversion between Markdown and HTML

Recommended Posts

Hi people,

 

I need to convert markdown text to HTML and vice versa. I tried to find a component or some code but was unable to locate any. There is a number of online converters and I was hoping they had API available but, again, I haven't found anything.

 

So, what would help are

 

1. Delphi component---ideally FMX but on Windows is just fine for now

 

2. Cloud service with API (free mostly)

 

3. EXE files that I could run from within my app

 

Does anyone have any suggestions?

 

Thanks.

Edited by John Kouraklis

Share this post


Link to post

Your HCL version has MD to HTML converter in htmarkdown unit, please use

MD := TMDParser.Create(..);

s := MD.Render;

 

There is also THtMardown panel which displays MD placed to HTML property.

 

IDE from version 11.2 uses this component for MD files and code hints.

Share this post


Link to post
4 hours ago, Alexander Sviridenkov said:

Your HCL version has MD to HTML converter in htmarkdown unit, please use

MD := TMDParser.Create(..);

s := MD.Render;

 

There is also THtMardown panel which displays MD placed to HTML property.

 

IDE from version 11.2 uses this component for MD files and code hints.

Ah, thanks Alex. I will check.

 

Do you also have a converter from HTML to MD?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×