@oiij/markdown-it 0.0.11 → 0.0.12

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.mts CHANGED
@@ -11,8 +11,8 @@ type UseMarkDownItOptions = {
11
11
  };
12
12
  declare function useMarkdownIt(templateRef?: TemplateRef<HTMLElement>, options?: UseMarkDownItOptions): {
13
13
  templateRef: Readonly<vue0.ShallowRef<HTMLElement | null>> | undefined;
14
- valueRef: vue0.Ref<string | undefined, string | undefined>;
15
- htmlRef: vue0.Ref<string, string>;
14
+ value: vue0.Ref<string | undefined, string | undefined>;
15
+ html: vue0.Ref<string, string>;
16
16
  markdownItInst: markdownIt;
17
17
  render: (value?: string) => string;
18
18
  };
package/dist/index.mjs CHANGED
@@ -39,8 +39,8 @@ function useMarkdownIt(templateRef, options) {
39
39
  });
40
40
  return {
41
41
  templateRef,
42
- valueRef,
43
- htmlRef,
42
+ value: valueRef,
43
+ html: htmlRef,
44
44
  markdownItInst,
45
45
  render
46
46
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oiij/markdown-it",
3
3
  "type": "module",
4
- "version": "0.0.11",
4
+ "version": "0.0.12",
5
5
  "description": "A Vue Composable for markdown-it",
6
6
  "author": "oiij",
7
7
  "license": "MIT",