You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/web_development/tutorials/next-js-static-first-mdx-starterkit/code-highlighting-plugin/page.mdx
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -763,10 +763,12 @@ Line 8: we import the shiki "diff notation" transformer
763
763
764
764
Lines 22 to 24: add out shiki transformer to the rehype-pretty-code **transformers option**
765
765
766
+
{/* eslint-disable mdx/remark */}
766
767
> [!NOTE]
767
768
> 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:
768
769
>
769
770
> > [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 */}
770
772
771
773
Next we edit our global.css to add styling for added and removed rows:
0 commit comments