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

Won't run using <script type="text/plain" class="language-markup"> #1

Open
claide opened this issue Jan 22, 2018 · 0 comments
Open

Comments

@claide
Copy link

claide commented Jan 22, 2018

I tried using the basic prism highlighter using

<pre class="line-numbers language-markup">
	<code class="language-markup">
                 //some html here using &lt; and &gt;
        </code>
</pre>

and it works, but when using the script tag like

<script type="text/plain" class="language-markup">
        //some html here without using  &lt; and &gt;
</script>

it doesn't work as expected. Can you put an example how to achieve that? Thanks!

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

1 participant