zenn-markdown-html 0.1.156 → 0.1.157
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/lib/embed.js +1 -1
- package/package.json +2 -2
package/lib/embed.js
CHANGED
|
@@ -42,7 +42,7 @@ const embedGenerators = {
|
|
|
42
42
|
if (!slideUrl) {
|
|
43
43
|
return errorMessage;
|
|
44
44
|
}
|
|
45
|
-
return `<span class="embed-block embed-docswell"><iframe src="${slideUrl}" allowfullscreen="true" class="docswell-iframe" width="
|
|
45
|
+
return `<span class="embed-block embed-docswell"><iframe src="${slideUrl}" allowfullscreen="true" class="docswell-iframe" width="100%" style="border: 1px solid #ccc; display: block; margin: 0px auto; padding: 0px; aspect-ratio: 16/9"></iframe></span>`;
|
|
46
46
|
},
|
|
47
47
|
jsfiddle(str) {
|
|
48
48
|
if (!(0, _urlMatcher.isJsfiddleUrl)(str)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zenn-markdown-html",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.157",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Convert markdown to zenn flavor html.",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"prismjs": "^1.29.0",
|
|
61
61
|
"sanitize-html": "^2.9.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "3805383c86bb3b1dedd6751d9b10eabc92f39cb3",
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|
|
66
66
|
}
|