Commit 552106e
Fix reference.ts producing empty hugo.json (#1957)
Hugo is a custom Quarto format not in pandoc-all, so
optionsForFormat("hugo") matches no options and writes [].
Map "hugo" to its base format "gfm" for option lookup while
keeping the output filename as hugo.json. Also add a guard
that warns and skips formats with no pandoc-all match.
(cherry picked from commit 3468104)1 parent c6ea2fe commit 552106e
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
| |||
171 | 177 | | |
172 | 178 | | |
173 | 179 | | |
174 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
175 | 186 | | |
176 | 187 | | |
177 | 188 | | |
| |||
0 commit comments