Releases: LekoArts/gatsby-themes
@lekoarts/[email protected]
Minor Changes
-
#1232
d1a23dc5
Thanks @renovate! - This theme uses prism-react-renderer for its code blocks. The version was updated from1.3.5
to2.0.6
and it contains some breaking changes in regards to the API surface.If you modified the theme in any way (e.g. by shadowing or adding additional Prism languages) you need to apply those changes, too.
Change of module imports
- import Highlight, { defaultProps } from "prism-react-renderer"; + import { Highlight } from "prism-react-renderer" const Content = ( - <Highlight {...defaultProps} code={exampleCode} language="jsx"> + <Highlight code={exampleCode} language="jsx">
Custom languages
import { Highlight, Prism } from "prism-react-renderer"; (typeof global !== "undefined" ? global : window).Prism = Prism; await import("prismjs/components/prism-applescript"); /** or **/ require("prismjs/components/prism-applescript");
Theme imports
- import vsDark from "prism-react-renderer/themes/vsDark" + import { themes } from "prism-react-renderer" + const { vsDark } = themes - const theme = require('prism-react-renderer/themes/vsDark') + const theme = require('prism-react-renderer').themes.vsDark
@lekoarts/[email protected]
@lekoarts/[email protected]
@lekoarts/[email protected]
@lekoarts/[email protected]
Patch Changes
-
#1213
a7507b1b
Thanks @renovate! - fix(deps): update dependency gatsby-plugin-catch-links to ^5.12.0 for gatsby-theme-minimal-blog -
Updated dependencies [
7a703e77
,5393b80b
]:- @lekoarts/[email protected]
- @lekoarts/[email protected]
@lekoarts/[email protected]
Patch Changes
-
#1219
7a703e77
Thanks @renovate! - fix(deps): update minor and patch dependencies for gatsby-theme-minimal-blog-core -
Updated dependencies [
5393b80b
]:- @lekoarts/[email protected]
- @lekoarts/[email protected]
@lekoarts/[email protected]
Patch Changes
-
#1221
b2bf4123
Thanks @renovate! - fix(deps): update dependency gatsby-plugin-image to ^3.12.0 for gatsby-theme-jodie -
Updated dependencies [
47bc85b6
]:- @lekoarts/[email protected]
@lekoarts/[email protected]
Patch Changes
-
#1218
47bc85b6
Thanks @renovate! - fix(deps): update minor and patch dependencies for gatsby-theme-jodie-core to ^5.12.0 -
Updated dependencies [
5393b80b
]:- @lekoarts/[email protected]