diff --git a/.changeset/cold-snakes-train.md b/.changeset/cold-snakes-train.md index 625b7d766685..191359bb921b 100644 --- a/.changeset/cold-snakes-train.md +++ b/.changeset/cold-snakes-train.md @@ -12,7 +12,7 @@ def func(): \``` ``` -This allows retrieving the language in a rehype plugin: +This allows retrieving the language in a rehype plugin from `node.properties.dataLanguage` by accessing the `
` element using `{ tagName: "pre" }`: ```js // myRehypePre.js import { visit } from "unist-util-visit";