Files
gitbook/patches/@gitbook%2Fapi@0.214.0.patch
T
Brett Jephson 4f53fcfbed Render heading-4 blocks
Renders `heading-4` as an `<h5>` with an anchor link, one size step below
heading-3, and keeps it out of the page outline. `@gitbook/api` is patched
with the new type until a release includes it.

RND-12837

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 10:27:44 +00:00

14 lines
752 B
Diff

diff --git a/dist/client.d.ts b/dist/client.d.ts
index a55c2aa43b1fe90f2050ef14607a42d4082cccf4..60e8a5fe17844652a1cf7cd368dbeb0c96708a23 100644
--- a/dist/client.d.ts
+++ b/dist/client.d.ts
@@ -2496,7 +2496,7 @@ export interface DocumentBlockParagraph {
export type DocumentInline = DocumentInlineLink | DocumentInlineEmoji | DocumentInlineIcon | DocumentInlineExpression | DocumentInlineMath | DocumentInlineImage | DocumentInlineAnnotation | DocumentInlineMention | DocumentInlineButton;
export interface DocumentBlockHeading {
object: "block";
- type: "heading-1" | "heading-2" | "heading-3";
+ type: "heading-1" | "heading-2" | "heading-3" | "heading-4";
key?: string;
nodes: (DocumentInline | DocumentText)[];
data: {