Add hugo-md to pandoc-all in format-aliases.yml
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- yaml
- Domain
- tooling
Research direction
Start with format-aliases.yml and compare the existing dashboard synthesized-format entry. Then inspect src/resources/extensions/quarto/hugo/_extension.yml and quarto-web's tools/reference.ts to resolve whether hugo or hugo-md is canonical. Done means the generated hugo.json contains the expected format options without the workaround.
Written by the indexing model from the issue text.
Description
The hugo-md format is defined as a Quarto extension at src/resources/extensions/quarto/hugo/_extension.yml (based on md with variant: gfm+yaml_metadata_block+definition_lists+smart), but it is not listed in pandoc-all in format-aliases.yml.
This causes quarto-web's tools/reference.ts to produce an empty hugo.json for the format reference page. The script derives format names from .qmd filenames and checks each option's resolved format list against pandoc-all. Since hugo / hugo-md is not in that list, no options match.
The dashboard format was handled by adding it as a synthesized format in pandoc-all. The same approach would work for hugo-md.
There is also a naming mismatch to consider: the extension defines the format as hugo-md, but the quarto-web reference page uses hugo.qmd (deriving the name hugo). The upstream fix should clarify which name should be canonical.
quarto-web has a workaround (mapping hugo to gfm for option lookup) but the proper fix belongs here.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from quarto-dev/quarto-cli
-
binder bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
quarto-dev/quarto-cli#14907 · 3 comments ·
-
brand bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
quarto-dev/quarto-cli#14891 ·
-
brand bug html revealjs
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
quarto-dev/quarto-cli#14882 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
quarto-dev/quarto-cli#14875 ·
-
Percent scripts: accept raw-string (r""") and '''-delimited markdown cells, as jupytext writes them Openengines-jupyter enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
quarto-dev/quarto-cli#14850 · 2 comments ·
All issues in quarto-dev/quarto-cli
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
avniproject/avni-client#2135 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
babalae/bettergi-scripts-list#3674 ·
-
A-Release-Notes C-Editing D-Modest S-Ready-For-Implementation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bevyengine/bevy-website#2595 ·
-
ecosystem wording
Difficulty 1/5 Under an hour Newbie friendliness 90/100
matrix-org/matrix.org#3649 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
vadimdemedes/ink#1029 ·