From 24c999ccb28132af906ef28c0966b09ae234d9e0 Mon Sep 17 00:00:00 2001 From: f3ve Date: Fri, 25 Oct 2024 22:27:38 -0800 Subject: [PATCH 1/2] feat: Updated deps and README --- .prettierrc | 2 +- LICENSE | 2 +- README.md | 31 + eslint.config.js | 21 +- package.json | 25 +- pnpm-lock.yaml | 3304 ++++++++++++++++-------------- src/components/VueMarkdownIt.vue | 1 + tsconfig.json | 4 +- 8 files changed, 1820 insertions(+), 1570 deletions(-) diff --git a/.prettierrc b/.prettierrc index 5cb8c87..470fe5e 100644 --- a/.prettierrc +++ b/.prettierrc @@ -7,4 +7,4 @@ "singleQuote": true, "printWidth": 80, "tabWidth": 2 -} \ No newline at end of file +} diff --git a/LICENSE b/LICENSE index 5b31b3e..84c3fb1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Freedom Evenden +Copyright (c) 2024 Freedom Evenden Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 0974398..2278c85 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,10 @@ npm i @f3ve/vue-markdown-it You can directly import the component in your SFC file. +#### In [` + + +``` + ### Using the Plugin You can also use the plugin to register the component globally. @@ -179,6 +208,8 @@ See [Markdown-it docs](https://markdown-it.github.io/markdown-it/#MarkdownIt.new #### Options +> _Note: I'm using Vue [script setup](https://vuejs.org/api/sfc-script-setup.html#basic-syntax) syntax in these examples. If you're not using script setup make sure to [register the component](https://vuejs.org/guide/components/registration.html#local-registration) before using._ + ```vue