diff --git a/.gitignore b/.gitignore index 5b2ce611..3bed9a90 100644 --- a/.gitignore +++ b/.gitignore @@ -4,11 +4,16 @@ Thumbs.db # Generated files *.html +!examples/*.html api plugins +components.json +file-sizes.json +_redirects # Cache .cache -# Local Netlify folder +# Local Netlify folders and files .netlify +deno.lock diff --git a/README.json b/README.json index d0efc02c..4abebb76 100644 --- a/README.json +++ b/README.json @@ -1,4 +1,4 @@ { "layout": "home.njk", - "resources": ["plugins/keep-markup/prism-keep-markup.js", "https://dev.prismjs.com/components/prism-bash.js"] + "resources": ["/plugins/keep-markup.js { type=module }", "/languages/bash.js { type=module }"] } diff --git a/README.md b/README.md index 162e922c..c53797ea 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Prism is used on several websites, small and large. Some of them are: # Examples The Prism source, highlighted with Prism (don’t you just love how meta this is?): -

+

 
 This page’s CSS code, highlighted with Prism:
 
@@ -56,7 +56,7 @@ If you’re still not sold, you can [view more examples](examples.html) or [try
 - Highlights embedded languages (e.g. CSS inside HTML, JavaScript inside HTML).
 - Highlights inline code as well, not just code blocks.
 - It doesn’t force you to use any Prism-specific markup, not even a Prism-specific class name, only standard markup you should be using anyway. So, you can just try it for a while, remove it if you don’t like it and leave no traces behind.
-- Highlight specific lines and/or line ranges (requires [plugin](plugins/line-highlight/)).
+- Highlight specific lines and/or line ranges (requires [plugin](plugins/line-highlight/index.html)).
 - Show invisible characters like tabs, line breaks etc (requires [plugin](plugins/show-invisibles/)).
 - Autolink URLs and emails, use Markdown links in comments (requires [plugin](plugins/autolinker/)).
 
@@ -221,7 +221,7 @@ This is the list of all {{ languages | length }} languages currently supported b