Skip to content

Commit e86f1a4

Browse files
committed
Update MIGRATING
1 parent 618cd6b commit e86f1a4

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

MIGRATING.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
- If you did not use themes or languages beyond the default included set, no change is necessary.
88
- 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.
1111
- Install or copy the extension into your project:
1212
- You can install from GitHub by running `npm install owner-name/repo-name`.
1313
- If you clone the source and build a `.vsix`, you can copy that file into your project.
@@ -38,9 +38,15 @@
3838
}
3939
```
4040

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+
4143
### CSS variables and class names have changed
4244

4345
- If you wrote custom CSS targeting the class `.vscode-highlight`, replace that selector with `.grvsc-container`.
4446
- 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`.
4547
- 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

Comments
 (0)