@vscode/markdown-editor 0.0.2-102 → 0.0.2-104
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 +52 -3
- package/dist/index.js +2158 -1816
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/src/view/editor.css +19 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vscode/markdown-editor",
|
|
3
|
-
"version": "0.0.2-
|
|
3
|
+
"version": "0.0.2-104",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
"@vscode/codicons": "0.0.46-36",
|
|
81
81
|
"@vscode/diff": "0.0.2-0",
|
|
82
82
|
"@vscode/observables": "^0.1.1-0",
|
|
83
|
+
"entities": "6.0.1",
|
|
83
84
|
"katex": "^0.16.33",
|
|
84
85
|
"micromark": "^4.0.1",
|
|
85
86
|
"micromark-extension-frontmatter": "^2.0.0",
|
|
@@ -109,5 +110,5 @@
|
|
|
109
110
|
"vitest": "^4.1.0",
|
|
110
111
|
"zod": "^4.3.6"
|
|
111
112
|
},
|
|
112
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "825cf2982e8950dec608c10da2aa39def2769c50"
|
|
113
114
|
}
|
package/src/view/editor.css
CHANGED
|
@@ -730,6 +730,25 @@
|
|
|
730
730
|
white-space: pre-wrap;
|
|
731
731
|
}
|
|
732
732
|
|
|
733
|
+
.md-video-wrapper {
|
|
734
|
+
max-width: 100%;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.md-video {
|
|
738
|
+
display: block;
|
|
739
|
+
max-width: 100%;
|
|
740
|
+
max-height: 100%;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
.md-editor:not(.md-readonly) .md-video:not([controls]) {
|
|
744
|
+
cursor: text;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.md-video-source {
|
|
748
|
+
overflow-wrap: anywhere;
|
|
749
|
+
white-space: pre-wrap;
|
|
750
|
+
}
|
|
751
|
+
|
|
733
752
|
/*
|
|
734
753
|
* An unhandled block: a construct the parser does not model (setext heading,
|
|
735
754
|
* an extension token). Its raw source is shown verbatim,
|