Skip to content

Support Prism unescaped markup plugin for HTML/XML syntaxes#8

Open
rsousacode wants to merge 1 commit intoilich:mainfrom
rsousacode:unescapedMarkupPlugin
Open

Support Prism unescaped markup plugin for HTML/XML syntaxes#8
rsousacode wants to merge 1 commit intoilich:mainfrom
rsousacode:unescapedMarkupPlugin

Conversation

@rsousacode
Copy link

@rsousacode rsousacode commented Jan 19, 2023

This change allows rendering XML and HTML syntaxes as mentioned here: https://prismjs.com/index.html and here.

A code block like the following:

<SomeXmlTag>Some XML Value</SomeXmlTag>

Would be not properly translated to HTML:
https://svelte.dev/repl/7320f29169f943318e38c4a8740b7f05?version=3.55.1

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

Successfully merging this pull request may close these issues.

1 participant