prettier-plugin-slidev
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

prettier-plugin-slidev

A Prettier plugin for Slidev.

Install

npm i -D prettier prettier-plugin-slidev

Activate the plugin

Create or modify your prettier configuration file to activate the plugin:

{
  "overrides": [
    {
      "files": ["slides.md", "pages/*.md"],
      "options": {
        "parser": "slidev",
        "plugins": ["prettier-plugin-slidev"]
      }
    }
  ]
}

Note that only specifying plugins is not enough, because Slidev and common Markdown files share the same file extension .md.

Package Sidebar

Install

npm i prettier-plugin-slidev

Homepage

sli.dev

Weekly Downloads

1,873

Version

1.0.5

License

MIT

Unpacked Size

6.82 kB

Total Files

8

Last publish

Collaborators

  • _kerman
  • antfu