NuxtN
Nuxt11mo ago
4 replies
Rob

Nuxt Content - API for Remark/Rehype extension configuration options

I would like to change the default "Footnotes" label to "Notes". I'm not sure how this is exposed in nuxt.config. It's not clear which extensions are being used and how to access their configuration API. I have tried options like this with no luck

          "remark-gfm": {
            gfmFootnoteHtml: {
              HtmlOptions: {
                label: "Notes",
              }
            },
          },


           "mdast-util-gfm-footnote": {
            htmlOptions: {
              label: 'Notes'
            }
          }
Was this page helpful?