File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,7 @@ Add to your `gatsby-config.js` (all options are optional; defaults shown here):
63
63
theme: ' Dark+ (default dark)' , // Read on for list of included themes. Also accepts object and function forms.
64
64
wrapperClassName: ' ' , // Additional class put on 'pre' tag. Also accepts function to set the class dynamically.
65
65
injectStyles: true , // Injects (minimal) additional CSS for layout and scrolling
66
- extensions: [], // Extensions to download from the marketplace to provide more languages and themes
67
- extensionDataDirectory: // Absolute path to the directory where extensions will be downloaded. Defaults to inside node_modules.
68
- path .resolve (' extensions' ),
66
+ extensions: [], // Third-party extensions providing additional themes and languages
69
67
languageAliases: {}, // Map of custom/unknown language codes to standard/known language codes
70
68
replaceColor : x => x, // Function allowing replacement of a theme color with another. Useful for replacing hex colors with CSS variables.
71
69
getLineClassName: ({ // Function allowing dynamic setting of additional class names on individual lines
@@ -147,7 +145,7 @@ The `dark` option is shorthand for a general-purpose `media` option that can be
147
145
148
146
## Built-in languages and themes
149
147
150
- The following can be used without specifying an extension to download from the marketplace :
148
+ The following languages and themes can be used without [ installing third-party extensions ] ( #using-languages-and-themes- from-an-extension ) :
151
149
152
150
### Languages
153
151
You can’t perform that action at this time.
0 commit comments