diff --git a/_quarto.yml b/_quarto.yml index c39a8ec698..bc123df1b2 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -518,6 +518,8 @@ website: href: docs/reference/formats/markdown/gfm.qmd - text: "CommonMark" href: docs/reference/formats/markdown/commonmark.qmd + - text: "Hugo" + href: docs/reference/formats/markdown/hugo.qmd - text: "Markua" href: docs/reference/formats/markdown/markua.qmd - section: "Wikis" diff --git a/docs/reference/reference.lua b/docs/reference/reference.lua index 8307bb4005..cd01e0b670 100644 --- a/docs/reference/reference.lua +++ b/docs/reference/reference.lua @@ -39,6 +39,9 @@ function Pandoc(doc) local refJsonPath = stem .. ".json" local refJsonFile = io.open(refJsonPath, "r") + if refJsonFile == nil then + quarto.log.warning("Reference JSON not found: " .. refJsonPath) + end if refJsonFile ~= nil then io.input(refJsonFile) local refJson = io.read("*all")