@hyperbook/markdown 0.28.2 → 0.28.4
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.js +3 -2
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -65303,7 +65303,7 @@ var remarkDirectiveYoutube_default = (ctx) => () => {
|
|
|
65303
65303
|
tagName: "iframe",
|
|
65304
65304
|
properties: {
|
|
65305
65305
|
class: "player",
|
|
65306
|
-
src: "https://www.youtube.com/embed/" + id,
|
|
65306
|
+
src: "https://www.youtube-nocookie.com/embed/" + id,
|
|
65307
65307
|
frameBorder: "0",
|
|
65308
65308
|
title: typeof data.hChildren === "string" ? data.hChildren : "",
|
|
65309
65309
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; fullscreen"
|
|
@@ -68786,6 +68786,7 @@ var remarkDirectiveQr_default = (ctx) => () => {
|
|
|
68786
68786
|
background: "#ffffff",
|
|
68787
68787
|
ecl: "M"
|
|
68788
68788
|
}).svg();
|
|
68789
|
+
console.log(qr);
|
|
68789
68790
|
const labelElement = [];
|
|
68790
68791
|
if (label4) {
|
|
68791
68792
|
labelElement.push({
|
|
@@ -76288,7 +76289,7 @@ var process2 = (md, ctx) => {
|
|
|
76288
76289
|
];
|
|
76289
76290
|
return remark(ctx).use(rehypePlugins).use(rehypeShell_default(ctx)).use(rehypeHtmlStructure_default(ctx)).use(rehypeStringify, {
|
|
76290
76291
|
allowDangerousCharacters: true,
|
|
76291
|
-
allowDangerousHtml:
|
|
76292
|
+
allowDangerousHtml: true
|
|
76292
76293
|
}).process(md);
|
|
76293
76294
|
};
|
|
76294
76295
|
export {
|