File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
apps/components_guide_web/lib/components_guide_web/templates/layout Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 22
22
</ ul >
23
23
</ footer >
24
24
< script type = "text/javascript " src = "<%= Routes.static_path(@conn, " /js /app.js ") % > "> </ script >
25
+
26
+ <!-- Prism syntax highlighting -->
27
+ < script src = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.16.0/prism.min.js " integrity = "sha256-NFZVyNmS1YlmiklazBA+TALYJlJtZj/y/i/oADk6CVE= " crossorigin = "anonymous " > </ script >
28
+ < script src = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.16.0/components/prism-css.min.js " integrity = "sha256-49Y45o2obU1Yv4zkYDpMDyAa+D9sgKNbNy4ZYGRl/ls= " crossorigin = "anonymous " > </ script >
29
+ < script src = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.16.0/components/prism-jsx.min.js " integrity = "sha256-oKM5pXZjDLVh12SHSa1wtIJV0zF49TOwu+jbqkDfYZA= " crossorigin = "anonymous " > </ script >
30
+ < script src = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.16.0/components/prism-typescript.min.js " integrity = "sha256-4ZOSQ1LXG14Swa26SUt2L/IfrwVPjrsvQNLxQiIPi8U= " crossorigin = "anonymous " > </ script >
31
+ < script src = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.16.0/components/prism-tsx.min.js " integrity = "sha256-Lu/zMuTtme4f+TbQrXMjj8OQwAb0x4RApaysYdeJBN0= " crossorigin = "anonymous " > </ script >
32
+ <!-- <link href="https://cdn.jsdelivr.net/gh/PrismJS/prism-themes@8a0b50bd5cef0c86154c22b8b17d97348323b343/themes/prism-a11y-dark.css" rel="stylesheet">-->
33
+ < link rel = "stylesheet " href = "https://unpkg.com/[email protected] /style.min.css " >
34
+ < script >
35
+ //document.querySelectorAll('.post.category-javascript pre code').forEach(el => el.classList.add( 'language-jsx '));
36
+ window.Prism.highlightAll();
37
+ </ script >
38
+
25
39
</ body >
26
40
</ html >
You can’t perform that action at this time.
0 commit comments