File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,15 @@ function notionEmbedsToMDX(input: string): {
6363 regex : / \[ .* \] \( ( h t t p .* ( \. ( g i f | G I F ) ) ) \) / gm,
6464 ...gif ,
6565 } ,
66+ // 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 : / \[ .* \] \( ( .* b l o o m l i b r a r y \. o r g .* .* b o o k .* ) \) / 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+ } ,
6675 } ;
6776
6877 let body = input ;
You can’t perform that action at this time.
0 commit comments