vuepress-plugin-code-style-recommend
TypeScript icon, indicating that this package has built-in type declarations

0.0.11 • Public • Published

This is VuePress@2 plugin for show style-guide code. like https://v3.cn.vuejs.org/style-guide/

Usage

Add plugin

vuepress config.ts

{
	plugins: [
		[
			'vuepress-plugin-code-style-recommend',
			{
				goodText: '', //good style title, default is '正面例子'
				badText: '', //bad style title, default is '反面例子'
			},
		],
	]
}

Use in markdown file

good

::: codeStyle good

other markdown content.

:::

bad

::: codeStyle bad

other markdown content.

:::

Package Sidebar

Install

npm i vuepress-plugin-code-style-recommend

Weekly Downloads

0

Version

0.0.11

License

MIT

Unpacked Size

36.3 kB

Total Files

11

Last publish

Collaborators

  • hxdyj