diff --git a/.changeset/lazy-seas-drop.md b/.changeset/lazy-seas-drop.md new file mode 100644 index 000000000..78a6eb997 --- /dev/null +++ b/.changeset/lazy-seas-drop.md @@ -0,0 +1,5 @@ +--- +'gitbook': patch +--- + +Improvements to inline images in headings diff --git a/packages/gitbook/src/components/DocumentView/Heading.tsx b/packages/gitbook/src/components/DocumentView/Heading.tsx index 34f0c963f..36ba1a18f 100644 --- a/packages/gitbook/src/components/DocumentView/Heading.tsx +++ b/packages/gitbook/src/components/DocumentView/Heading.tsx @@ -64,7 +64,16 @@ export function Heading(props: BlockProps) { /> -
+