Hello hugo community.
I’m unable to configure hugo to use pandoc as external helper. I went through the docs and only could find information about AsciiDoc.
My config.toml file:
baseURL = "http://example.org/"
languageCode = "en-us"
title = "My New Hugo Site"
theme = "harbor"
[markup]
defaultMarkdownHandler = "pandoc"
And my contents are in content/posts/cont1.pdc
file. When running the server locally math equations and code blocks are not rendered properly. The code blocks have no syntax highlighting and math equations are rendered as \(a\)
Contents of the cont1.pdc are
---
title: "Cont2"
date: 2021-05-29T14:06:49+05:30
draft: true
---
This in my site, put page 2
Testing math $a$
What am I doing wrong?
Output of hugo env
hugo v0.83.1+extended linux/amd64 BuildDate=unknown
GOOS="linux"
GOARCH="amd64"
GOVERSION="go1.16.3"