@hyperbook/types 0.14.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -109,6 +109,7 @@ export type HyperbookJson = {
|
|
|
109
109
|
dark: string;
|
|
110
110
|
light: string;
|
|
111
111
|
} | string;
|
|
112
|
+
bypassInline?: boolean;
|
|
112
113
|
showLineNumbers?: boolean;
|
|
113
114
|
};
|
|
114
115
|
excalidraw?: ElementConfig & {
|
|
@@ -155,7 +156,7 @@ export interface HyperbookContext {
|
|
|
155
156
|
config: HyperbookJson;
|
|
156
157
|
library?: HyperlibraryJson;
|
|
157
158
|
project?: Hyperproject;
|
|
158
|
-
makeUrl(path: string | string[], base: "public" | "book" | "archive" | "glossary" | "assets"): string;
|
|
159
|
+
makeUrl(path: string | string[], base: "public" | "book" | "archive" | "glossary" | "assets", page?: HyperbookPage): string;
|
|
159
160
|
navigation: Navigation;
|
|
160
161
|
}
|
|
161
162
|
export {};
|