Unverified Commit 8c774fd2 authored by Henk Verlinde's avatar Henk Verlinde Committed by GitHub
Browse files

Merge pull request #165 from h-enk/doks-tables

Add table support in markdown
parents 6a2d1ec4 5ee11a80
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
@import "components/forms";
@import "components/images";
@import "components/search";
@import "components/tables";
@import "layouts/footer";
@import "layouts/header";
@import "layouts/pages";
+4 −0
Original line number Diff line number Diff line
@@ -291,3 +291,7 @@ body.dark .alert-primary {
body.dark .figure-caption {
  color: $body-color-dark;
}

body.dark table {
  @extend .table-dark;
}
+5 −0
Original line number Diff line number Diff line
table {
  @extend .table;

  margin: 3rem 0;
}
+6 −0
Original line number Diff line number Diff line
@@ -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]
+7 −1
Original line number Diff line number Diff line
@@ -12,6 +12,12 @@ module.exports = {
      ],
      safelist: [
        'lazyloaded',
        'table',
        'thead',
        'tbody',
        'tr',
        'th',
        'td',
        ...whitelister([
          './assets/scss/components/_code.scss',
          './assets/scss/components/_search.scss',