Skip to content

Commit

Permalink
Disable code indentation (11ty/eleventy#2438)
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrHovhannisyan committed Jun 15, 2022
1 parent 78f7954 commit 7a46d52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/plugins/markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ const markdownLib = markdownIt({
breaks: false,
linkify: true,
})
// https://github.com/11ty/eleventy/issues/2438
.disable('code')
.use(markdownItPrism, {
defaultLanguage: 'plaintext',
})
Expand Down

0 comments on commit 7a46d52

Please sign in to comment.