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

prism cant work #1797

Closed
m4p1e opened this issue Mar 9, 2019 · 1 comment · Fixed by #1800
Closed

prism cant work #1797

m4p1e opened this issue Mar 9, 2019 · 1 comment · Fixed by #1800

Comments

@m4p1e
Copy link

m4p1e commented Mar 9, 2019

i just include prism

<script type="text/javascript" src ="/prism/prism.js"></script>

but when i opened the page ,in chrome console it show error
Uncaught TypeError: Cannot set property 'inside' of undefined

the error part is

Prism.languages.django.script.inside.string.inside = _django_template

i dont know why , pls help me

@RunDevelopment
Copy link
Member

Thank you for reporting!

This seems to be caused by #1660. I will fix this soon.

shd101wyy added a commit to shd101wyy/crossnote that referenced this issue Mar 9, 2019
shd101wyy added a commit to shd101wyy/crossnote that referenced this issue Mar 10, 2019
* Upgrade KaTeX to v0.10.1

* Upgrade mermaid to 8.0.0

* Upgrade plantuml to 1.2019.2

* Upgrade markdown-it to 8.4.2

* Upgrade prism to support more languages

* Upgrade a few packages in package.json

* Trying to support VSCode API changes

* Include commit gicentre/mume-with-litvis@11bc965

* Revert prism.js to last version due to the issue PrismJS/prism#1797

* Improve mermaid in webview

* Fix imagemagicCli.exec not found issue

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

Successfully merging a pull request may close this issue.

2 participants