Is markdown supported in the reports?

Stimulsoft Reports.JS discussion
Post Reply
szalap
Posts: 16
Joined: Fri Oct 04, 2024 8:01 am

Is markdown supported in the reports?

Post by szalap »

Hi,

Does the report viewer respect values that contain Markdown tags (f.e. **text**) and is able to present them formatted correctly?
Lech Kulikowski
Posts: 7292
Joined: Tue Mar 20, 2018 5:34 am

Re: Is markdown supported in the reports?

Post by Lech Kulikowski »

Hello,

Sorry, we did not exactly understand your question. Could you explain your issue in more detail?

Thank you.
szalap
Posts: 16
Joined: Fri Oct 04, 2024 8:01 am

Re: Is markdown supported in the reports?

Post by szalap »

Given the scenario that our data contains markdown text, will it be appropriately rendered inside of the report viewer? F.e. text will become bold or italic.

Please, see the file attached.
Attachments
image_2024-10-07_111436573.png
image_2024-10-07_111436573.png (117.68 KiB) Viewed 2465 times
Lech Kulikowski
Posts: 7292
Joined: Tue Mar 20, 2018 5:34 am

Re: Is markdown supported in the reports?

Post by Lech Kulikowski »

Hello,

Unfortunately, no.

Thank you.
szalap
Posts: 16
Joined: Fri Oct 04, 2024 8:01 am

Re: Is markdown supported in the reports?

Post by szalap »

Thank you for verifying, Lech.

Is there any plan to support it in the future?
Lech Kulikowski
Posts: 7292
Joined: Tue Mar 20, 2018 5:34 am

Re: Is markdown supported in the reports?

Post by Lech Kulikowski »

Hello,

Could you explain how you want to use it and what tags?

Thank you.
szalap
Posts: 16
Joined: Fri Oct 04, 2024 8:01 am

Re: Is markdown supported in the reports?

Post by szalap »

We have comment section that supports Markdown (the screenshot above comes from there) and we want to display it through simple Text component.
Right now we are considering to work it around by converting all Markdown to HTML tags, but it has its own limitations as not all of them are supported (as per another thread created above this one).

Here are elements found widely adopted in the industry (and supported in our application):
- https://www.markdownguide.org/basic-syntax
- https://www.markdownguide.org/extended-syntax
Lech Kulikowski
Posts: 7292
Joined: Tue Mar 20, 2018 5:34 am

Re: Is markdown supported in the reports?

Post by Lech Kulikowski »

Hello,

Thank you for the information.

We will investigate and discuss this task with our team and will let you know about the result.

Thank you.
#15699
szalap
Posts: 16
Joined: Fri Oct 04, 2024 8:01 am

Re: Is markdown supported in the reports?

Post by szalap »

Thank you for taking this into consideration, Lech! It would be wonderful if this gets green-lit :)
Lech Kulikowski
Posts: 7292
Joined: Tue Mar 20, 2018 5:34 am

Re: Is markdown supported in the reports?

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply