From 4a1499f1ebcc133c4f211d4ecd4bf9329a3fcd64 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Tue, 24 Jan 2023 09:19:09 -0600 Subject: [PATCH] Fixes https://github.com/11ty/eleventy-plugin-syntaxhighlight/pull/48 --- eleventy.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eleventy.config.js b/eleventy.config.js index 031fd4b..b345cee 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -26,7 +26,9 @@ module.exports = function(eleventyConfig) { // Official plugins eleventyConfig.addPlugin(pluginRss); - eleventyConfig.addPlugin(pluginSyntaxHighlight); + eleventyConfig.addPlugin(pluginSyntaxHighlight, { + preAttributes: { tabindex: 0 } + }); eleventyConfig.addPlugin(pluginNavigation); eleventyConfig.addPlugin(EleventyHtmlBasePlugin);