@vscode/markdown-editor 0.0.2-93 → 0.0.2-95
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 +47 -4
- package/dist/index.js +1880 -1564
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/view/editor.css +20 -1
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-95",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
"vitest": "^4.1.0",
|
|
110
110
|
"zod": "^4.3.6"
|
|
111
111
|
},
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "3309406f6a2afc39651dd07957cce9dd8260090c"
|
|
113
113
|
}
|
package/src/view/editor.css
CHANGED
|
@@ -891,6 +891,24 @@ pre.md-unhandled-scroll.md-code-block {
|
|
|
891
891
|
display: none;
|
|
892
892
|
}
|
|
893
893
|
|
|
894
|
+
/*
|
|
895
|
+
* A soft ending followed by an explicit blockquote continuation marker renders
|
|
896
|
+
* a real line break in both views. Its source newline is still mapped and is
|
|
897
|
+
* revealed while editing, but contributes no hidden width in rendered mode.
|
|
898
|
+
*/
|
|
899
|
+
.md-blockquote-linebreak-source-hidden {
|
|
900
|
+
display: none;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
/*
|
|
904
|
+
* Structural quote prefixes between child blocks can be owned by a source gap
|
|
905
|
+
* instead of an inline continuation marker. Keep the exact gap for active
|
|
906
|
+
* editing, but remove it entirely from inactive layout and hit testing.
|
|
907
|
+
*/
|
|
908
|
+
.md-glue-blockQuoteSourceGap.md-glue-hidden {
|
|
909
|
+
display: none;
|
|
910
|
+
}
|
|
911
|
+
|
|
894
912
|
/*
|
|
895
913
|
* Glue normally keeps its inline footprint when hidden so source padding and
|
|
896
914
|
* widget gutters stay identical between active and inactive states. Hidden
|
|
@@ -957,7 +975,8 @@ pre.md-unhandled-scroll.md-code-block {
|
|
|
957
975
|
* adds no line break and no height — active and inactive therefore have the
|
|
958
976
|
* same height. When hidden it collapses to nothing.
|
|
959
977
|
*/
|
|
960
|
-
.md-glue-blockGap
|
|
978
|
+
.md-glue-blockGap,
|
|
979
|
+
.md-glue-blockQuoteSourceGap {
|
|
961
980
|
white-space: normal;
|
|
962
981
|
}
|
|
963
982
|
|