diff options
Diffstat (limited to 'markup/pandoc/convert.go')
-rw-r--r-- | markup/pandoc/convert.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/markup/pandoc/convert.go b/markup/pandoc/convert.go index 63bab2748..1c25e41d2 100644 --- a/markup/pandoc/convert.go +++ b/markup/pandoc/convert.go @@ -16,6 +16,7 @@ package pandoc import ( "github.com/cli/safeexec" + "github.com/gohugoio/hugo/htesting" "github.com/gohugoio/hugo/identity" "github.com/gohugoio/hugo/markup/internal" @@ -74,5 +75,8 @@ func getPandocExecPath() string { // Supports returns whether Pandoc is installed on this computer. func Supports() bool { + if htesting.SupportsAll() { + return true + } return getPandocExecPath() != "" } |