feat: add table support in markdown

This commit is contained in:
Henk Verlinde
2021-03-05 14:27:36 +01:00
parent 6a2d1ec4e7
commit 5ee11a80e2
5 changed files with 23 additions and 1 deletions

View File

@ -45,6 +45,12 @@ rel = "sitemap"
[markup.goldmark]
[markup.goldmark.extensions]
linkify = false
[markup.goldmark.parser]
autoHeadingID = true
autoHeadingIDType = "github"
[markup.goldmark.parser.attribute]
block = true
title = true
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]

View File

@ -8,10 +8,16 @@ module.exports = {
purgecss({
content: [
'./layouts/**/*.html',
'./content/**/*.md',
'./content/**/*.md',
],
safelist: [
'lazyloaded',
'table',
'thead',
'tbody',
'tr',
'th',
'td',
...whitelister([
'./assets/scss/components/_code.scss',
'./assets/scss/components/_search.scss',