From e6cf573bd3783475958c6f536a7fc67a2c32346e Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 13 Aug 2026 09:26:26 +0900 Subject: [PATCH] Fix book icon --- src/plugins/remark-python-refs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/remark-python-refs.ts b/src/plugins/remark-python-refs.ts index 906e2d2..de7713a 100644 --- a/src/plugins/remark-python-refs.ts +++ b/src/plugins/remark-python-refs.ts @@ -85,7 +85,7 @@ interface Match { function extractText(children: PhrasingContent[]): string { return children .map((c) => { - if (c.type === "text") return c.value; + if (c.type === "text" || c.type === "inlineCode") return c.value; if ("children" in c) return extractText(c.children as PhrasingContent[]); return ""; })