@web-printer/vitepress
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

@web-printer/vitepress

These sites are using vuejs/vitepress

Installation

pnpm i @web-printer/vitepress
import { Printer } from "@web-printer/core"
import vitepress from "@web-printer/vitepress"

new Printer()
  .use(
    vitepress({
      url: {
        Guide: "https://vuejs.org/guide/introduction.html",
        API: "https://vuejs.org/api/application.html"
      }
    })
  )
  .print("Vue 3.2 Documentation")

Options

{
  /**
   * Url of website page generated by vitepress, this page must have sidebar outline
   * @example
   * - "https://vitepress.vuejs.org/guide/"
   * - "https://vuejs.org/guide/introduction.html"
   * - {
   *    Guide: "https://vuejs.org/guide/introduction.html",
   *    API: "https://vuejs.org/api/application.html"
   *  }
   */
  url: MaybeMultiURL
}

License

MIT ©

Readme

Keywords

none

Package Sidebar

Install

npm i @web-printer/vitepress

Weekly Downloads

3

Version

0.4.0

License

MIT

Unpacked Size

7.11 kB

Total Files

6

Last publish

Collaborators

  • ourongxing