|
6 | 6 |
|
7 | 7 | - If you did not use themes or languages beyond the default included set, no change is necessary.
|
8 | 8 | - If you relied on the `extensions` plugin option to download extensions:
|
9 |
| - - Find the extension source on GitHub, npm, or elsewhere. |
10 |
| - - Ensure the license allows you to use the code on your site, and follow all requirements. |
| 9 | + - Find the extension source on GitHub, npm, or elsewhere. (Extensions listed on the Visual Studio Marketplace typically link to their GitHub repos.) |
| 10 | + - Ensure the license allows you to use the code on your site, and follow all license requirements. |
11 | 11 | - Install or copy the extension into your project:
|
12 | 12 | - You can install from GitHub by running `npm install owner-name/repo-name`.
|
13 | 13 | - If you clone the source and build a `.vsix`, you can copy that file into your project.
|
|
38 | 38 | }
|
39 | 39 | ```
|
40 | 40 |
|
| 41 | +The new `theme` option also supports some options that `colorTheme` did not; you can read about the full API in the [README](README.md#multi-theme-support). |
| 42 | + |
41 | 43 | ### CSS variables and class names have changed
|
42 | 44 |
|
43 | 45 | - If you wrote custom CSS targeting the class `.vscode-highlight`, replace that selector with `.grvsc-container`.
|
44 | 46 | - If you wrote custom CSS targeting any other class beginning with `.vscode-highlight`, replace the `.vscode-highlight` prefix with `.grvsc`. For example, `.vscode-highlight-line` is now `.grvsc-line`.
|
45 | 47 | - If you set any CSS variables, replace the `--vscode-highlight` prefix with `--grvsc`. For example, `--vscode-highlight-border-radius` is now `--grvsc-border-radius`.
|
46 |
| -- If you wrote custom CSS targeting a token class name beginning with `.mtk`, that was never intended to be supported! Consider using `replaceColor` instead, or [file an issue](https://github.com/andrewbranch/gatsby-remark-vscode/issues/new) if you think you have a compelling use case for writing custom token CSS. |
| 48 | +- If you wrote custom CSS targeting a token class name beginning with `.mtk`, that was never intended to be supported! Consider using `replaceColor` instead, or [file an issue](https://github.com/andrewbranch/gatsby-remark-vscode/issues/new) if you think you have a compelling use case for writing custom token CSS. |
| 49 | + |
| 50 | +### Known issues |
| 51 | + |
| 52 | +- Usage with [gatsby-plugin-mdx ](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-mdx) requires [email protected] or later. |
0 commit comments