Jump to content
Chris Pim

Markdown parsing components for FMX

Recommended Posts

I've been using Markdown in my other non-Delphi projects as a way to provide formatted docs in my apps. E.g. T&C documents, in-line help content etc.

Seems like this is pretty standard in other platforms (Flutter, Swift, C# etc)

 

I've tried a few alternative approaches such as using the web browser (too heavy-weight for in-line content), TDzHTMLLabel (excellent but HTML based an doesn't handle images well. Also not great for longer content as it's just a formatted label control).

I found the HTML Component Library but it's very expensive for the small part of it that I need.

I found an open source project to convert markdown to HTML which is an option I'm looking into but still falls back onto another component to actually display the content.

 

Embarcadero referred to Markdown support in Delphi 12 but from what I can see it's only for use in the IDE itself, not in your own apps.

 

It just feels like I'm missing something here. Does anyone know of a good solution I haven't found? Maybe it's just a great opportunity for someone to create one!

Share this post


Link to post
On 8/6/2024 at 8:44 AM, Chris Pim said:

Embarcadero referred to Markdown support in Delphi 12 but from what I can see it's only for use in the IDE itself, not in your own apps.

 

unfortunately, they just added support for adding your own markdown documentation, e.g. README.md... unfortunately, it doesn't support some features that are used on many projects on github.

 

Anyways, there is markdown package that I've used for docs: https://github.com/grahamegrieve/delphi-markdown

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

×