Skip to content

Commit b6385bd

Browse files
committed
fix: disable Bloom Book embeds for now
1 parent 9124106 commit b6385bd

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/DocusaurusTweaks.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,15 @@ function notionEmbedsToMDX(input: string): {
6464
...gif,
6565
},
6666
// This is included in notion-pull just because we built notion-pull for our own doc site, and it needs this.
67-
bloomPUB: {
68-
regex: /\[.*\]\((.*bloomlibrary\.org.*.*book.*)\)/gm,
69-
// enhance: it would be nice if we could fill in the `host` parameter for analytics
70-
output: `<iframe width="100%" height="500px" allow="fullscreen" allowFullScreen={true}
71-
src="https://embed.bloomlibrary.org/bloom-player/bloomplayer.htm?url=$1_url_encoded&initiallyShowAppBar=false&allowToggleAppBar=false"
72-
></iframe>`,
73-
import: "", // it's just an iframe, nothing to import
74-
},
67+
// bloomPUB: {
68+
// regex: /\[.*\]\((.*bloomlibrary\.org.*.*book.*)\)/gm,
69+
// // enhance: it would be nice if we could fill in the `host` parameter for analytics
70+
// // output: `<iframe width="100%" height="500px" allow="fullscreen" allowFullScreen={true}
71+
// // src="https://embed.bloomlibrary.org/bloom-player/bloomplayer.htm?url=$1_url_encoded&initiallyShowAppBar=false&allowToggleAppBar=false"
72+
// // ></iframe>`,
73+
// output: `<iframe width="100%" height="450px" allow="fullscreen" allowFullScreen={true} src="https://bloomlibrary.org/player/$1"></iframe>`,
74+
// import: "", // it's just an iframe, nothing to import
75+
// },
7576
};
7677

7778
let body = input;

0 commit comments

Comments
 (0)