Skip to content

Commit ca9710c

Browse files
authored
Merge pull request #97 from chrisweb/preview
Preview to main
2 parents d7f2bff + c68dcd2 commit ca9710c

18 files changed

+2
-9
lines changed

β€Žapp/web_development/tutorials/next-js-static-first-mdx-starterkit/code-highlighting-plugin/page.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -763,10 +763,12 @@ Line 8: we import the shiki "diff notation" transformer
763763
764764
Lines 22 to 24: add out shiki transformer to the rehype-pretty-code **transformers option**
765765
766+
{/* eslint-disable mdx/remark */}
766767
> [!NOTE]
767768
> we did set the "transformer matching algorithm" option () to v3 (as recommended in the transformers chapter of the [shiki v2 migration guide](https://shiki.style/blog/v2#transformers-matching-algorithm)) to get rid of the shiki deprecation notice:
768769
>
769770
> > [SHIKI DEPRECATE]: The default `matchAlgorithm: "v1"` is deprecated and will be removed in the future. Please explicitly set `matchAlgorithm: "v3"` in the transformer options.
771+
{/* eslint-enable mdx/remark */}
770772
771773
Next we edit our global.css to add styling for added and removed rows:
772774
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

β€Žinterfaces/page.ts

-9
This file was deleted.

0 commit comments

Comments
Β (0)