New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gitbook-plugin-theme-cqbook

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-theme-cqbook

A Gitbook theme

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

DIY A Gitbook theme for cqhook

使用方法

安装您的插件使用:

$ gitbook install
OR
$ npm i -D gitbook-plugin-theme-cqhook

将主题添加到您的图书配置 book.json 或者 book.js中:

{
  plugins: ['theme-cqbook'],
}

配置

整体配置

{
  plugins: ['theme-cqbook'],
  variables: {
    themeHqbook: {
      nav: [
        {
          url: 'https://www.baidu.com',
          target: '_blank',
          name: '百度一下',
        },
        // { ... }
      ],
    },
  },
  pluginsConfig: {
    'theme-hqbook': {
      favicon: './favicon.ico',
      logo: './logo.png',
      'search-placeholder': '输入关键字搜索',
      copyButtons: true,
      copyLines: true,
      dragSplitter: true,
      'hide-elements': ['.summary .gitbook-link'],
      'flexible-linkcard': {
        title: 'flexible-linkcard',
        hrefUrl: 'xxx',
        target: '_blank',
        imgSrc: './book/logo.png',
        imgClass: 'rect',
      },
    },
  },
}

Keywords

FAQs

Package last updated on 20 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc