From 5c463fc555b73bf1a8da241e09aeae0af324aa1d Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Wed, 10 Apr 2024 12:24:18 -0400 Subject: [PATCH] Update .changeset/cold-snakes-train.md Co-authored-by: Sarah Rainsberger --- .changeset/cold-snakes-train.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";