- 编译 `markdown` - 提供 markdown 高亮. Latest version: 0.0.3, last published: 3 days ago. Start using @v-md/plugin-vue-md in your project by running `npm i @v-md/plugin-vue-md`. There is 1 other project in the npm registry using @v-md/plugin-vue-md.
支持低版本浏览器的改造 Version0.0.59LicenseMIT INSTALL Type:ESMDefault Version: import mdVuePluginHiprint from'https://cdn.jsdelivr.net/npm/md-vue-plugin-hiprint@0.0.59/+esm' Learn more ReadmeFilesStatisticsBrowse CDN Statistics Requests0 Bandwidth0 Top...
使用vitepress+vue3来创作的一个博客,带有 Gitalk 评论,暗黑模式. Contribute to JustinJiaBin/blog development by creating an account on GitHub.
import { componentPlugin } from '@mdit-vue/plugin-component'; import MarkdownIt from 'markdown-it'; const md = MarkdownIt({ html: true }).use(componentPlugin, { // options }); const rendered = md.render( `\ <!-- @ shorthand is supported --> <Foo @click="onClick" /> <!-...
importVuefrom'@vitejs/plugin-vue'importMarkdownfrom'vite-plugin-md'exportdefault{plugins:[Vue({include:[/\.vue$/,/\.md$/],// <--}),Markdown(),],} This adds the VueJS along withthisrepo as "plugins" to Vite. With VueJS you'll also want to make sure to include bothvueandmdfil...
import { hiprint } from 'vue-plugin-hiprint' hiprint.init({ host: 'https://printjs.cn:17521', // 此处输入服务启动后的地址 token: 'vue-plugin-hiprint', // 用于鉴权的token }); // or hiwebSocket.setHost("https://printjs.cn:17521", "vue-plugin-hiprint") console.log(hiwebSocket.clie...
npm i @mdit-vue/plugin-headers Usage import{ headersPlugin }from'@mdit-vue/plugin-headers';importtype{ MarkdownItEnv }from'@mdit-vue/types';importMarkdownItfrom'markdown-it';constmd = MarkdownIt({ html:true}).use(headersPlugin, {// options});constenv: MarkdownItEnv = {};constrend...
import { hiprint } from 'vue-plugin-hiprint' hiprint.init({ host: 'https://v4.printjs.cn:17521', // 此处输入服务启动后的地址 token: 'hiprint-17521', // 用于鉴权的token,hiprint* (*可替换为[0-9a-zA-Z\-_]字符) }); // or hiwebSocket.setHost("https://printjs.cn:17521", "...
import { hiprint } from 'vue-plugin-hiprint' hiprint.init({ host: 'https://printjs.cn:17521', // 此处输入服务启动后的地址 token: 'vue-plugin-hiprint', // 用于鉴权的token }); // or hiwebSocket.setHost("https://printjs.cn:17521", "vue-plugin-hiprint") console.log(hiwebSocket.clie...
vue-plugin-hiprint(基于hiprint 2.5.4) 当时只是为了方便我(并非hiprint原作者)在vue项目中引入使用,所以以此命名。此插件仅仅是一个JavaScript【工具库】而非 Vue【组件库】,所以它默认是不包含demo中所见的那些组件页面的(demo代码随便复制修改拿去用)。由于hiprint官网最后一次更新时间为2019年【hiprint 2.5.4 是...