Update config.go to add two Asciidoctor extensions
authorBryan Klein <klein@thunderheadeng.com>
Wed, 1 Jul 2020 22:01:14 +0000 (15:01 -0700)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 2 Jul 2020 05:57:43 +0000 (07:57 +0200)
Added two common extensions to allow my Hugo+Asciidoctor site to build with the new configuration.

markup/asciidocext/asciidocext_config/config.go

index 8cc3e79e67d7d197f5211c182f5a216b06c7cb9e..aef998b516eb4e10780ba206176628ff0e2bb176 100644 (file)
@@ -33,10 +33,12 @@ var (
 
        AllowedExtensions = map[string]bool{
                "asciidoctor-html5s":           true,
+               "asciidoctor-bibtex":           true,
                "asciidoctor-diagram":          true,
                "asciidoctor-interdoc-reftext": true,
                "asciidoctor-katex":            true,
                "asciidoctor-latex":            true,
+               "asciidoctor-mathematical":     true,
                "asciidoctor-question":         true,
                "asciidoctor-rouge":            true,
        }