summaryrefslogtreecommitdiff
path: root/astro-prism/index.mjs
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@matthewphillips.info> 2021-04-08 15:17:00 -0400
committerGravatar GitHub <noreply@github.com> 2021-04-08 15:17:00 -0400
commit72ae661e9e6f7b32adf9e6a47cdc6352dfa2a27d (patch)
tree3bc185025ee58360d05e509eb0873d796e9cb7a5 /astro-prism/index.mjs
parent2b346d7a4c08b2c6ab6276751a8a984ba050656f (diff)
downloadastro-72ae661e9e6f7b32adf9e6a47cdc6352dfa2a27d.tar.gz
astro-72ae661e9e6f7b32adf9e6a47cdc6352dfa2a27d.tar.zst
astro-72ae661e9e6f7b32adf9e6a47cdc6352dfa2a27d.zip
Add support for syntax highlighting of code blocks (#65)
* Add support for syntax highlighting of code blocks * Escape usage of backtick strings * Add workspace root for snowpack * Use prismjs/components as an external module
Diffstat (limited to 'astro-prism/index.mjs')
-rw-r--r--astro-prism/index.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/astro-prism/index.mjs b/astro-prism/index.mjs
index 1d0e1a98f..bb4fc53e4 100644
--- a/astro-prism/index.mjs
+++ b/astro-prism/index.mjs
@@ -9,7 +9,7 @@ export function addAstro(Prism) {
scriptLang = 'typescript';
} else {
scriptLang = 'javascript';
- console.warn('Prism TypeScript language not loading, Astro scripts will be treated as JavaScript.');
+ console.warn('Prism TypeScript language not loaded, Astro scripts will be treated as JavaScript.');
}