diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-30 19:47:21 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-30 19:47:21 +0100 |
| commit | a98b5ea6fe8e8cc98a55e0fd793e6e8660ea31c1 (patch) | |
| tree | 542810ab5aef99150db228bb54fd58303dcb31c7 /.babelrc | |
| parent | ab355897a12b7bda1089a44de326d41455a0f7a3 (diff) | |
chore: add prismjs for syntax highlighting
Diffstat (limited to '.babelrc')
| -rw-r--r-- | .babelrc | 51 |
1 files changed, 50 insertions, 1 deletions
@@ -1,4 +1,53 @@ { "presets": ["next/babel"], - "plugins": ["macros"] + "plugins": [ + "macros", + [ + "prismjs", + { + "languages": [ + "apacheconf", + "bash", + "css", + "diff", + "docker", + "editorconfig", + "ejs", + "git", + "html", + "ignore", + "ini", + "javascript", + "jsdoc", + "json", + "jsx", + "makefile", + "markup", + "php", + "phpdoc", + "regex", + "scss", + "shell-session", + "smarty", + "tcl", + "toml", + "tsx", + "twig", + "yaml" + ], + "plugins": [ + "command-line", + "copy-to-clipboard", + "diff-highlight", + "inline-color", + "line-highlight", + "line-numbers", + "match-braces", + "show-language", + "toolbar" + ], + "css": true + } + ] + ] } |
