Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MessageList to support Markdown syntax #8697

Open
guygoldwasser opened this issue Feb 19, 2025 · 1 comment
Open

MessageList to support Markdown syntax #8697

guygoldwasser opened this issue Feb 19, 2025 · 1 comment

Comments

@guygoldwasser
Copy link

Describe your motivation

B"H
https://vaadin.com/docs/latest/components/message-list
this component use strings only.
in case of using that e.g. with AI api, would like to have the ability to get the html parsing of the markdown syntax.

e.g. ** some text ** will be replaced to some text etc.
I am aware that there is no ISO standard for that, but maybe at least easy client side integration to do the trick with e.g. https://www.npmjs.com/package/showdown

do it on server side and set html is probably discourage as it opens other security problems.

Describe the solution you'd like

E.g. some flag on MessageListItem to use some js converters into HTML

Describe alternatives you've considered

to create my own list

Additional context

No response

@yuriy-fix yuriy-fix added enhancement New feature or request vaadin-messages labels Feb 20, 2025
@yuriy-fix
Copy link
Contributor

yuriy-fix commented Feb 20, 2025

We are looking into this one by either enhancing the current component or introducing a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants