mirror of
https://github.com/pyscript/pyscript.git
synced 2026-02-14 10:01:09 -05:00
Move prism.js and prism.css to prism.min.* (#1248)
This commit is contained in:
@@ -85,12 +85,12 @@ class PyTutor:
|
||||
link.type = "text/css"
|
||||
link.rel = "stylesheet"
|
||||
js.document.head.appendChild(link)
|
||||
link.href = "./assets/prism/prism.css"
|
||||
link.href = "./assets/prism/prism.min.css"
|
||||
|
||||
# Add the JS file
|
||||
script = js.document.createElement("script")
|
||||
script.type = "text/javascript"
|
||||
script.src = "./assets/prism/prism.js"
|
||||
script.src = "./assets/prism/prism.min.js"
|
||||
js.document.head.appendChild(script)
|
||||
|
||||
def _create_code_section(self, source, module_paths=None, parent=None):
|
||||
|
||||
Reference in New Issue
Block a user