is it possible to convert Html format into Markdown format (Including Markdown syntaxes also) using any Simplicte classes. If possible please suggest us. like HTMLTool, MarkdownTool etc…
If i use HTMLTool.toPlainMarkdownText(htmlOfDocument);
This one only print Markdown test only not syntaxes i need syntaxes because i need to get the document styles and format.
See my prevous answer: at that stage there is no helper class/method to do HTML to markdown conversion. We are going to check if this can be done with the already included Java libs and we will let you know.
I have already given you the procedure to add additional libs this this answer
As said adding external libs may causes tricky versionning conflict issues that can cause misbehavior of the platform and/or of your custom code.
I think you should rather wait for our analysis on your requirement to convert HTML to Markdown in order to benefit from an out of the box solution.
PS: May I ask what platform version you are using ? I ask because if you are using version 6.2 you should upgrade to 6.3 as no further changes will be done on version 6.2 which will end its short term maintenance period in ~2 months
Yes indeed, upgrading Simplicité platform is part of our training journey. I will process this in priority with the team. Please consider the usage will be based on 6.3 LTS.
On the renault2.simplicite.io SIM server, multiple minor versions of major version 6 are available.
There is also a vamsi instance here, but in version 6.2…
I see that there are also instances still using the outdated minor version 6.1, is it normal ?
I suggest theses instances are deleted or upgraded to, at least, minor version 6.2 and that the minor version 6.1 is removed from the available versions on this SIM server.
In major version 6 (= in current minor version 6.3) we have added a basic Markdown to HTML conversion capability with the new helper method MarkdownTool.fromHTML(String html)
We hope this will be fine for your needs. This will be available in the next revision 6.3.3 that will be released by the end of the week.
After doing some investigations, it seem that the FlexMark libs you want to use (which are supposed to be a fork of the CommonMark libs) are not maintained anymore (no commits since ~1year and last release which dates back may 2023) as opposed to CommonMark libs which are still active (last release in january 2026).
Moreover, some indirect dependencies of the FlexMark libs are outdated (e.g. the openhtmltopdf libs which date back to september 2021) and conflicting with more recent libs integrated in Simplicité.
Therefore, even for the next major version 7 of the platform, we plan to keep integrating only the CommonMark libs even if they don’t provide some features such as HTML to Markdown conversion. We may reconsider this if the FlexMark community shows some serious signs of activity in a near future.
If you really want to integrate these old FlexMark libs, you can still do it by building a custom image following the dedicated procedure.