Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Any way to customize primsjs config? #223

Open
martypitt opened this issue Sep 10, 2021 · 0 comments
Open

Any way to customize primsjs config? #223

martypitt opened this issue Sep 10, 2021 · 0 comments

Comments

@martypitt
Copy link

martypitt commented Sep 10, 2021

I'm trying to add a custom langauge spec into the prismjs config.

The docs for gatsby-remark-prismjs suggest I need to configure the languageExtensions.

However, gatsby-remark-prismjs is already configured in the gatsby-config.js:

const allGatsbyRemarkPlugins = [
<snip>
    {
      resolve: 'gatsby-remark-prismjs',
      options: {
        showLineNumbers: true
      }
    },
    ...gatsbyRemarkPlugins
]

Is there any way I can override or modify this definition from my own config, to pass in the custom config I need?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant