vue-markdown-design 0.3.0 → 0.3.2-beta

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.
Files changed (72) hide show
  1. package/README.md +26 -4
  2. package/README.zh-CN.md +5 -1
  3. package/es/_virtual/_@oxc-project_runtime@0.115.0/helpers/asyncToGenerator.mjs +27 -0
  4. package/es/_virtual/_@oxc-project_runtime@0.115.0/helpers/defineProperty.mjs +12 -0
  5. package/es/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.mjs +25 -0
  6. package/es/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.mjs +13 -0
  7. package/es/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutPropertiesLoose.mjs +12 -0
  8. package/es/_virtual/_@oxc-project_runtime@0.115.0/helpers/toPrimitive.mjs +14 -0
  9. package/es/_virtual/_@oxc-project_runtime@0.115.0/helpers/toPropertyKey.mjs +9 -0
  10. package/es/_virtual/_@oxc-project_runtime@0.115.0/helpers/typeof.mjs +11 -0
  11. package/es/hooks/use-element/index.mjs +21 -18
  12. package/es/hooks/use-scroll-element/index.mjs +44 -45
  13. package/es/index.mjs +7 -18
  14. package/es/markdown/Markdown.mjs +221 -316
  15. package/es/markdown/index.css +3 -0
  16. package/es/markdown/index2.mjs +6 -0
  17. package/es/render/Render.mjs +143 -173
  18. package/es/render/index.css +37 -21
  19. package/es/render/index2.mjs +6 -0
  20. package/es/search/Search.mjs +236 -284
  21. package/es/search/index.css +4 -0
  22. package/es/search/index2.mjs +6 -0
  23. package/es/sticky/Sticky.mjs +66 -99
  24. package/es/sticky/index2.mjs +6 -0
  25. package/es/toc/Toc.mjs +253 -347
  26. package/es/toc/index2.mjs +6 -0
  27. package/es/utils/constant.mjs +4 -4
  28. package/es/utils/dom.mjs +44 -68
  29. package/es/utils/format.mjs +33 -39
  30. package/es/utils/functions.mjs +5 -5
  31. package/es/utils/vue.mjs +10 -32
  32. package/lib/_virtual/_@oxc-project_runtime@0.115.0/helpers/asyncToGenerator.js +27 -0
  33. package/lib/_virtual/_@oxc-project_runtime@0.115.0/helpers/defineProperty.js +12 -0
  34. package/lib/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.js +25 -0
  35. package/lib/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.js +13 -0
  36. package/lib/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutPropertiesLoose.js +12 -0
  37. package/lib/_virtual/_@oxc-project_runtime@0.115.0/helpers/toPrimitive.js +14 -0
  38. package/lib/_virtual/_@oxc-project_runtime@0.115.0/helpers/toPropertyKey.js +9 -0
  39. package/lib/_virtual/_@oxc-project_runtime@0.115.0/helpers/typeof.js +16 -0
  40. package/lib/_virtual/_rolldown/runtime.js +23 -0
  41. package/lib/hooks/use-element/index.js +23 -19
  42. package/lib/hooks/use-scroll-element/index.js +45 -45
  43. package/lib/index.js +24 -22
  44. package/lib/markdown/Markdown.js +224 -317
  45. package/lib/markdown/index.css +3 -0
  46. package/lib/markdown/index2.js +6 -0
  47. package/lib/render/Render.js +152 -176
  48. package/lib/render/index.css +37 -21
  49. package/lib/render/index2.js +6 -0
  50. package/lib/search/Search.js +242 -286
  51. package/lib/search/index.css +4 -0
  52. package/lib/search/index2.js +6 -0
  53. package/lib/sticky/Sticky.js +68 -99
  54. package/lib/sticky/index2.js +6 -0
  55. package/lib/toc/Toc.js +259 -349
  56. package/lib/toc/index2.js +6 -0
  57. package/lib/utils/constant.js +3 -3
  58. package/lib/utils/dom.js +46 -69
  59. package/lib/utils/format.js +33 -33
  60. package/lib/utils/functions.js +4 -4
  61. package/lib/utils/vue.js +10 -31
  62. package/package.json +4 -9
  63. package/es/markdown/index.mjs +0 -9
  64. package/es/render/index.mjs +0 -9
  65. package/es/search/index.mjs +0 -9
  66. package/es/sticky/index.mjs +0 -7
  67. package/es/toc/index.mjs +0 -9
  68. package/lib/markdown/index.js +0 -8
  69. package/lib/render/index.js +0 -8
  70. package/lib/search/index.js +0 -8
  71. package/lib/sticky/index.js +0 -7
  72. package/lib/toc/index.js +0 -8
@@ -1,181 +1,157 @@
1
- "use strict";
2
- require('./index.css');var __defProp = Object.defineProperty;
3
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
6
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7
- var __spreadValues = (a, b) => {
8
- for (var prop in b || (b = {}))
9
- if (__hasOwnProp.call(b, prop))
10
- __defNormalProp(a, prop, b[prop]);
11
- if (__getOwnPropSymbols)
12
- for (var prop of __getOwnPropSymbols(b)) {
13
- if (__propIsEnum.call(b, prop))
14
- __defNormalProp(a, prop, b[prop]);
15
- }
16
- return a;
1
+ require('./index.css');const require_runtime = require("../_virtual/_rolldown/runtime.js");
2
+ const require_objectSpread2 = require("../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.js");
3
+ ;/* empty css */
4
+ const require_format = require("../utils/format.js");
5
+ const require_functions = require("../utils/functions.js");
6
+ const require_constant = require("../utils/constant.js");
7
+ let lodash = require("lodash");
8
+ let vue = require("vue");
9
+ let highlight_js = require("highlight.js");
10
+ highlight_js = require_runtime.__toESM(highlight_js);
11
+ let markdown_it_emoji = require("markdown-it-emoji");
12
+ let _markdown_design_markdown_it_sanitize = require("@markdown-design/markdown-it-sanitize");
13
+ let markdown_it_anchor = require("markdown-it-anchor");
14
+ markdown_it_anchor = require_runtime.__toESM(markdown_it_anchor);
15
+ let markdown_it = require("markdown-it");
16
+ markdown_it = require_runtime.__toESM(markdown_it);
17
+ //#region src/render/Render.tsx
18
+ var defaultBoolean = {
19
+ type: Boolean,
20
+ default: void 0
17
21
  };
18
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
19
- const vue = require("vue");
20
- ;/* empty css */
21
- const hljs = require("highlight.js");
22
- const markdownItEmoji = require("markdown-it-emoji");
23
- const markdownItSanitize = require("@markdown-design/markdown-it-sanitize");
24
- const format = require("../utils/format.js");
25
- const anchor = require("markdown-it-anchor");
26
- const lodash = require("lodash");
27
- const MarkdownIt = require("markdown-it");
28
- const functions = require("../utils/functions.js");
29
- const constant = require("../utils/constant.js");
30
- const defaultBoolean = {
31
- type: Boolean,
32
- default: void 0
22
+ var { name, addPrefix } = require_format.createNamespace("render");
23
+ var renderProps = {
24
+ src: {
25
+ type: [String, Number],
26
+ default: ""
27
+ },
28
+ plugins: {
29
+ type: [Function, Array],
30
+ default: () => []
31
+ },
32
+ inline: Boolean,
33
+ presetName: {
34
+ type: String,
35
+ default: "default"
36
+ },
37
+ html: {
38
+ type: Boolean,
39
+ default: true
40
+ },
41
+ sanitize: {
42
+ type: [Boolean, Object],
43
+ default: true
44
+ },
45
+ xhtmlOut: defaultBoolean,
46
+ breaks: defaultBoolean,
47
+ langPrefix: String,
48
+ linkify: defaultBoolean,
49
+ typographer: defaultBoolean,
50
+ quotes: [String, Array],
51
+ highlight: {
52
+ type: [
53
+ Boolean,
54
+ Function,
55
+ null
56
+ ],
57
+ default: true
58
+ },
59
+ highlightOptions: Object,
60
+ emoji: {
61
+ type: [Boolean, Object],
62
+ default: true
63
+ },
64
+ anchor: {
65
+ type: [
66
+ Boolean,
67
+ Object,
68
+ Function
69
+ ],
70
+ default: true
71
+ },
72
+ permalink: {
73
+ type: Boolean,
74
+ default: true
75
+ },
76
+ markdownClass: {
77
+ type: String,
78
+ default: "markdown-body"
79
+ }
33
80
  };
34
- const {
35
- name,
36
- addPrefix
37
- } = format.createNamespace("render");
38
- const renderProps = {
39
- src: {
40
- type: [String, Number],
41
- default: ""
42
- },
43
- plugins: {
44
- type: [Function, Array],
45
- default: () => []
46
- },
47
- inline: Boolean,
48
- presetName: {
49
- type: String,
50
- default: "default"
51
- },
52
- html: {
53
- type: Boolean,
54
- default: true
55
- },
56
- sanitize: {
57
- type: [Boolean, Object],
58
- default: true
59
- },
60
- xhtmlOut: defaultBoolean,
61
- breaks: defaultBoolean,
62
- langPrefix: String,
63
- linkify: defaultBoolean,
64
- typographer: defaultBoolean,
65
- quotes: [String, Array],
66
- highlight: {
67
- type: [Boolean, Function, null],
68
- default: true
69
- },
70
- highlightOptions: Object,
71
- emoji: {
72
- type: [Boolean, Object],
73
- default: true
74
- },
75
- anchor: {
76
- type: [Boolean, Object, Function],
77
- default: true
78
- },
79
- permalink: {
80
- type: Boolean,
81
- default: true
82
- },
83
- markdownClass: {
84
- type: String,
85
- default: "markdown-body"
86
- }
87
- };
88
- const renderEmits = {
89
- envChange: (payload) => lodash.isObject(payload)
90
- };
91
- const _Render = /* @__PURE__ */ vue.defineComponent({
92
- name,
93
- props: renderProps,
94
- emits: renderEmits,
95
- setup(props, {
96
- emit,
97
- expose
98
- }) {
99
- const mdInstance = new MarkdownIt(props.presetName);
100
- const optionKeys = ["html", "xhtmlOut", "breaks", "langPrefix", "linkify", "typographer", "quotes"];
101
- vue.watch(() => optionKeys.map((key) => props[key]), () => {
102
- mdInstance.set(lodash.pickBy(props, (value, key) => optionKeys.includes(key) && !lodash.isUndefined(value)));
103
- }, {
104
- immediate: true
105
- });
106
- props.highlightOptions && hljs.configure(props.highlightOptions);
107
- vue.watchEffect(() => {
108
- let highlight = props.highlight || null;
109
- if (highlight === true) {
110
- highlight = (str, language) => {
111
- const {
112
- getLanguage,
113
- highlight: highlight2,
114
- highlightAuto
115
- } = hljs;
116
- const {
117
- value
118
- } = getLanguage(language) ? highlight2(str, {
119
- language
120
- }) : highlightAuto(str);
121
- return value;
122
- };
123
- }
124
- mdInstance.set({
125
- highlight
126
- });
127
- });
128
- functions.runFnWithOptions(props.sanitize, (options) => mdInstance.use(markdownItSanitize.sanitize, options));
129
- functions.runFnWithOptions(props.emoji, (options) => mdInstance.use(markdownItEmoji.full, options));
130
- functions.runFnWithOptions(props.anchor, (options = {}) => {
131
- const permalink = props.permalink ? {
132
- permalink: anchor.permalink.linkInsideHeader({
133
- placement: "before",
134
- class: addPrefix("__anchor"),
135
- space: false,
136
- renderAttrs: () => ({
137
- [constant.DATA_ANCHOR]: ""
138
- })
139
- // 适配 toc 组件,使之可以准确获取 HTMLHeadingElement
140
- })
141
- } : {};
142
- const anchorOptions = lodash.isFunction(options) ? options(anchor) : options;
143
- mdInstance.use(anchor, __spreadValues(__spreadValues({}, permalink), anchorOptions));
144
- });
145
- const getPlugins = () => {
146
- const {
147
- plugins
148
- } = props;
149
- return Array.isArray(plugins) ? plugins.map(format.allToArray) : [[plugins]];
150
- };
151
- getPlugins().forEach((plugin) => mdInstance.use(...plugin));
152
- const refreshKeys = ["src", "inline", "highlight", ...optionKeys];
153
- const htmlStr = vue.ref("");
154
- vue.watch(() => refreshKeys.map((key) => props[key]), () => {
155
- const {
156
- src,
157
- inline
158
- } = props;
159
- const env = {};
160
- htmlStr.value = mdInstance[inline ? "renderInline" : "render"](String(src), env);
161
- emit("envChange", env);
162
- }, {
163
- immediate: true
164
- });
165
- expose({
166
- mdInstance,
167
- htmlStr
168
- });
169
- return () => vue.createVNode("div", {
170
- "class": name
171
- }, [vue.createVNode("div", {
172
- "class": [addPrefix("__wrapper"), props.markdownClass, {
173
- [addPrefix("--permalink")]: props.permalink
174
- }],
175
- "innerHTML": htmlStr.value
176
- }, null)]);
177
- }
81
+ var renderEmits = { envChange: (payload) => (0, lodash.isObject)(payload) };
82
+ var Render_default = /* @__PURE__ */ (0, vue.defineComponent)({
83
+ name,
84
+ props: renderProps,
85
+ emits: renderEmits,
86
+ setup(props, { emit, expose }) {
87
+ const mdInstance = new markdown_it.default(props.presetName);
88
+ const optionKeys = [
89
+ "html",
90
+ "xhtmlOut",
91
+ "breaks",
92
+ "langPrefix",
93
+ "linkify",
94
+ "typographer",
95
+ "quotes"
96
+ ];
97
+ (0, vue.watch)(() => optionKeys.map((key) => props[key]), () => {
98
+ mdInstance.set((0, lodash.pickBy)(props, (value, key) => optionKeys.includes(key) && !(0, lodash.isUndefined)(value)));
99
+ }, { immediate: true });
100
+ props.highlightOptions && highlight_js.default.configure(props.highlightOptions);
101
+ (0, vue.watchEffect)(() => {
102
+ let highlight = props.highlight || null;
103
+ if (highlight === true) highlight = (str, language) => {
104
+ const { getLanguage, highlight, highlightAuto } = highlight_js.default;
105
+ const { value } = getLanguage(language) ? highlight(str, { language }) : highlightAuto(str);
106
+ return value;
107
+ };
108
+ mdInstance.set({ highlight });
109
+ });
110
+ require_functions.runFnWithOptions(props.sanitize, (options) => mdInstance.use(_markdown_design_markdown_it_sanitize.sanitize, options));
111
+ require_functions.runFnWithOptions(props.emoji, (options) => mdInstance.use(markdown_it_emoji.full, options));
112
+ require_functions.runFnWithOptions(props.anchor, (options = {}) => {
113
+ const permalink = props.permalink ? { permalink: markdown_it_anchor.default.permalink.linkInsideHeader({
114
+ placement: "before",
115
+ class: addPrefix("__anchor"),
116
+ space: false,
117
+ renderAttrs: () => ({ [require_constant.DATA_ANCHOR]: "" })
118
+ }) } : {};
119
+ const anchorOptions = (0, lodash.isFunction)(options) ? options(markdown_it_anchor.default) : options;
120
+ mdInstance.use(markdown_it_anchor.default, require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, permalink), anchorOptions));
121
+ });
122
+ const getPlugins = () => {
123
+ const { plugins } = props;
124
+ return Array.isArray(plugins) ? plugins.map(require_format.allToArray) : [[plugins]];
125
+ };
126
+ getPlugins().forEach((plugin) => mdInstance.use(...plugin));
127
+ const refreshKeys = [
128
+ "src",
129
+ "inline",
130
+ "highlight",
131
+ ...optionKeys
132
+ ];
133
+ const htmlStr = (0, vue.ref)("");
134
+ (0, vue.watch)(() => refreshKeys.map((key) => props[key]), () => {
135
+ const { src, inline } = props;
136
+ const env = {};
137
+ htmlStr.value = mdInstance[inline ? "renderInline" : "render"](String(src), env);
138
+ emit("envChange", env);
139
+ }, { immediate: true });
140
+ expose({
141
+ mdInstance,
142
+ htmlStr
143
+ });
144
+ return () => (0, vue.createVNode)("div", { "class": name }, [(0, vue.createVNode)("div", {
145
+ "class": [
146
+ addPrefix("__wrapper"),
147
+ props.markdownClass,
148
+ { [addPrefix("--permalink")]: props.permalink }
149
+ ],
150
+ "innerHTML": htmlStr.value
151
+ }, null)]);
152
+ }
178
153
  });
179
- exports.default = _Render;
154
+ //#endregion
155
+ exports.default = Render_default;
180
156
  exports.renderEmits = renderEmits;
181
157
  exports.renderProps = renderProps;
@@ -1,16 +1,26 @@
1
- /* light */
1
+ /*light */
2
2
  .markdown-body {
3
3
  color-scheme: light;
4
+ /** CSS default easing. Use for hover state changes and micro-interactions. */
5
+ /** Accelerating motion. Use for elements exiting the viewport (moving off-screen). */
6
+ /** Smooth acceleration and deceleration. Use for elements moving or morphing within the viewport. */
7
+ /** Decelerating motion. Use for elements entering the viewport or appearing on screen. */
8
+ /** Constant motion with no acceleration. Use for continuous animations like progress bars or loaders. */
4
9
  -ms-text-size-adjust: 100%;
5
10
  -webkit-text-size-adjust: 100%;
6
11
  margin: 0;
12
+ font-weight: 400;
7
13
  color: #1f2328;
8
14
  background-color: #ffffff;
9
- font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
15
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
10
16
  font-size: 16px;
11
17
  line-height: 1.5;
12
18
  word-wrap: break-word;
13
19
  }
20
+ .markdown-body a {
21
+ text-decoration: underline;
22
+ text-underline-offset: .2rem;
23
+ }
14
24
  .markdown-body .octicon {
15
25
  display: inline-block;
16
26
  fill: currentColor;
@@ -42,7 +52,7 @@
42
52
  display: none !important;
43
53
  }
44
54
  .markdown-body a {
45
- background-color: transparent;
55
+ background-color: rgba(0,0,0,0);
46
56
  color: #0969da;
47
57
  text-decoration: none;
48
58
  }
@@ -103,7 +113,7 @@
103
113
  .markdown-body hr {
104
114
  box-sizing: content-box;
105
115
  overflow: hidden;
106
- background: transparent;
116
+ background: rgba(0,0,0,0);
107
117
  border-bottom: 1px solid #d1d9e0b3;
108
118
  height: .25em;
109
119
  padding: 0;
@@ -184,7 +194,7 @@
184
194
  .markdown-body [role=button]:focus,
185
195
  .markdown-body input[type=radio]:focus,
186
196
  .markdown-body input[type=checkbox]:focus {
187
- outline: 2px solid #0969da;
197
+ outline: 2px solid var(--borderColor-accent-emphasis);
188
198
  outline-offset: -2px;
189
199
  box-shadow: none;
190
200
  }
@@ -192,13 +202,13 @@
192
202
  .markdown-body [role=button]:focus:not(:focus-visible),
193
203
  .markdown-body input[type=radio]:focus:not(:focus-visible),
194
204
  .markdown-body input[type=checkbox]:focus:not(:focus-visible) {
195
- outline: solid 1px transparent;
205
+ outline: solid 1px rgba(0,0,0,0);
196
206
  }
197
207
  .markdown-body a:focus-visible,
198
208
  .markdown-body [role=button]:focus-visible,
199
209
  .markdown-body input[type=radio]:focus-visible,
200
210
  .markdown-body input[type=checkbox]:focus-visible {
201
- outline: 2px solid #0969da;
211
+ outline: 2px solid var(--borderColor-accent-emphasis);
202
212
  outline-offset: -2px;
203
213
  box-shadow: none;
204
214
  }
@@ -218,10 +228,10 @@
218
228
  color: #1f2328;
219
229
  vertical-align: middle;
220
230
  background-color: #f6f8fa;
221
- border: solid 1px #d1d9e0b3;
222
- border-bottom-color: #d1d9e0b3;
231
+ border: solid 1px var(--borderColor-muted);
232
+ border-bottom-color: var(--borderColor-muted);
223
233
  border-radius: 6px;
224
- box-shadow: inset 0 -1px 0 #d1d9e0b3;
234
+ box-shadow: inset 0 -1px 0 var(--borderColor-muted);
225
235
  }
226
236
  .markdown-body h1,
227
237
  .markdown-body h2,
@@ -492,7 +502,7 @@
492
502
  background-color: #f6f8fa;
493
503
  }
494
504
  .markdown-body table img {
495
- background-color: transparent;
505
+ background-color: rgba(0,0,0,0);
496
506
  }
497
507
  .markdown-body img[align=right] {
498
508
  padding-left: 20px;
@@ -503,7 +513,7 @@
503
513
  .markdown-body .emoji {
504
514
  max-width: none;
505
515
  vertical-align: text-top;
506
- background-color: transparent;
516
+ background-color: rgba(0,0,0,0);
507
517
  }
508
518
  .markdown-body span.frame {
509
519
  display: block;
@@ -606,7 +616,7 @@
606
616
  margin: 0;
607
617
  word-break: normal;
608
618
  white-space: pre;
609
- background: transparent;
619
+ background: rgba(0,0,0,0);
610
620
  border: 0;
611
621
  }
612
622
  .markdown-body .highlight {
@@ -629,13 +639,12 @@
629
639
  .markdown-body pre code,
630
640
  .markdown-body pre tt {
631
641
  display: inline;
632
- max-width: auto;
633
642
  padding: 0;
634
643
  margin: 0;
635
644
  overflow: visible;
636
645
  line-height: inherit;
637
646
  word-wrap: normal;
638
- background-color: transparent;
647
+ background-color: rgba(0,0,0,0);
639
648
  border: 0;
640
649
  }
641
650
  .markdown-body .csv-data td,
@@ -700,9 +709,6 @@
700
709
  .markdown-body .footnotes .data-footnote-backref g-emoji {
701
710
  font-family: monospace;
702
711
  }
703
- .markdown-body body:has(:modal) {
704
- padding-right: var(--dialog-scrollgutter) !important;
705
- }
706
712
  .markdown-body .pl-c {
707
713
  color: #59636e;
708
714
  }
@@ -741,8 +747,8 @@
741
747
  color: #82071e;
742
748
  }
743
749
  .markdown-body .pl-ii {
744
- color: #f6f8fa;
745
- background-color: #82071e;
750
+ color: var(--fgColor-danger);
751
+ background-color: var(--bgColor-danger-muted);
746
752
  }
747
753
  .markdown-body .pl-c2 {
748
754
  color: #f6f8fa;
@@ -825,6 +831,16 @@
825
831
  width: 1em;
826
832
  height: 1em;
827
833
  }
834
+ .markdown-body a:has(>p,>div,>pre,>blockquote) {
835
+ display: block;
836
+ }
837
+ .markdown-body a:has(>p,>div,>pre,>blockquote):not(:has(.snippet-clipboard-content,>pre)) {
838
+ width: fit-content;
839
+ }
840
+ .markdown-body a:has(>p,>div,>pre,>blockquote):has(.snippet-clipboard-content,>pre):focus-visible {
841
+ outline: 2px solid var(--borderColor-accent-emphasis);
842
+ outline-offset: 2px;
843
+ }
828
844
  .markdown-body .task-list-item {
829
845
  list-style-type: none;
830
846
  }
@@ -856,7 +872,7 @@
856
872
  width: auto;
857
873
  height: 24px;
858
874
  overflow: visible;
859
- clip: auto;
875
+ clip-path: none;
860
876
  }
861
877
  .markdown-body ::-webkit-calendar-picker-indicator {
862
878
  filter: invert(50%);
@@ -0,0 +1,6 @@
1
+ const require_vue = require("../utils/vue.js");
2
+ const require_Render = require("./Render.js");
3
+ //#region src/render/index.ts
4
+ var VmdRender = require_vue.withInstall(require_Render.default);
5
+ //#endregion
6
+ exports.default = VmdRender;