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

HTML tag support in message #3

Open
daobuzhi opened this issue Jun 17, 2020 · 1 comment
Open

HTML tag support in message #3

daobuzhi opened this issue Jun 17, 2020 · 1 comment

Comments

@daobuzhi
Copy link

Thank you very much for the awesome work, now it is super easy for a newbie to implement i18n for chrome extension.

Here are some scenario where HTML tags are used to help format tips or messages. I am new here and would like to know if the plugin support it. appreciate for any instructions.

Thanks

@crimx
Copy link
Member

crimx commented Jun 17, 2020

Hi, this plugin is a wrapper of the native browser api which does not support HTML formatting.

Technically you can use innerHTML but for safety reason I would recommend you to take a look at vue-i18n or i18next for advanced formatting.

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

No branches or pull requests

2 participants