Install Eleventy's official syntax highlighting plugin
This commit is contained in:
@@ -7,9 +7,14 @@ Source code of my developer portfolio and blog website. Built with Eleventy.
|
||||
- Eleventy's official [Image](https://www.11ty.dev/docs/plugins/image/) plugin
|
||||
- Eleventy's official [RSS](https://www.11ty.dev/docs/plugins/rss/) plugin
|
||||
- Eleventy's official [Navigation](https://www.11ty.dev/docs/plugins/navigation/) plugin
|
||||
- Eleventy's official [Syntax Highlighting](https://www.11ty.dev/docs/plugins/syntaxhighlight/) plugin
|
||||
|
||||
### Eleventy Community Plugins
|
||||
- [Emoji Read Time Eleventy Plugin](https://11ty.rocks/#plugin-emoji-read-time)
|
||||
- [eleventy-plugin-metagen](https://www.npmjs.com/package/eleventy-plugin-metagen)
|
||||
- [eleventy-plugin-embed-everything](https://www.npmjs.com/package/eleventy-plugin-embed-everything)
|
||||
|
||||
### markdown-it Plugins
|
||||
- [markdown-it-attrs](https://www.npmjs.com/package/markdown-it-attrs)
|
||||
- [markdown-it-bracketed-spans](https://www.npmjs.com/package/markdown-it-bracketed-spans)
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// Installed Plugins
|
||||
const pluginRss = require("@11ty/eleventy-plugin-rss");
|
||||
const eleventyNavigationPlugin = require("@11ty/eleventy-navigation");
|
||||
const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight");
|
||||
const metagen = require('eleventy-plugin-metagen');
|
||||
const emojiReadTime = require("@11tyrocks/eleventy-plugin-emoji-readtime");
|
||||
|
||||
@@ -17,6 +18,7 @@ module.exports = function(eleventyConfig) {
|
||||
// Installed Plugins
|
||||
eleventyConfig.addPlugin(pluginRss);
|
||||
eleventyConfig.addPlugin(eleventyNavigationPlugin);
|
||||
eleventyConfig.addPlugin(syntaxHighlight);
|
||||
eleventyConfig.addPlugin(metagen);
|
||||
eleventyConfig.addPlugin(emojiReadTime);
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"@11ty/eleventy-img": "^4.0.2",
|
||||
"@11ty/eleventy-navigation": "^0.3.5",
|
||||
"@11ty/eleventy-plugin-rss": "^1.2.0",
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
|
||||
"@11tyrocks/eleventy-plugin-emoji-readtime": "^1.0.1",
|
||||
"eleventy-plugin-embed-everything": "^1.18.2",
|
||||
"eleventy-plugin-metagen": "^1.8.3",
|
||||
|
||||
Reference in New Issue
Block a user