Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
D
dbp
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • credit_data
  • dbp
  • Wiki
    • Node_modules
    • Gitbook plugin prism themes
  • README

Last edited by leo Oct 21, 2019
Page history

README

gitbook-plugin-prism-themes

This repository is gitbook plugin for prism-themes.

It provides additional themes when using gitbook-plugin-prism。

Usage

  1. Add the plugin to your book.json, and disable default GitBook code highlighting:

    {
      "plugins": ["-highlight", "prism", "prism-themes"]
    }
  2. Install the plugins

    gitbook install
  3. Update gitbook-plugin-prism's configuration, override default styles:

    "pluginsConfig": {  
      "prism": {
        "css": [
          "prism-themes/themes/prism-duotone-dark.css"
        ]
      }
    }

    All css files must reside in the same folder. The css file's root path is ${yourBookDir}/node_modules/. The NPM module prism-themes is an dependency of this plugin.

License

Apache 2

Clone repository
  • README
  • SUMMARY
  • bidchance.wiki
    • README
    • open_bidchance_batchGetDatas
    • open_bidchance_batchGetKeywords
    • open_bidchance_count
    • open_bidchance_find
    • open_bidchance_keywords
    • open_bidchance_search
    • open_bidchance_searchPage
  • common
    • authenticate
    • error_code
    • output_format
    • service_hosts_pub
  • company.wiki
    • README
View All Pages