menu arrow_back 湛蓝安全空间 |狂野湛蓝,暴躁每天 chevron_right ... chevron_right node_modules chevron_right gitbook-plugin-accordion
  • home 首页
  • brightness_4 暗黑模式
  • cloud
    xLIYhHS7e34ez7Ma
    cloud
    湛蓝安全
    code
    Github
    lightbulb_outline README

    gitbook-plugin-accordion

    npm

    Example

    https://artalar.github.io/gitbook-plugin-accordion/

    Usage

    In GitBook editor (or any else):

    %accordion%Some title here%accordion%
    
    Any content here
    
    %/accordion%

    that`s all! But each tag should be in one paragraph

    similarly you can include accordion in accordion (like content)

    IE11+ (flexboxes)

    Install

    Update book.json, like:

    {
      "gitbook": "3.2.2",
      "title": "Cool book",
      "plugins": ["accordion"]
    }

    Then run

    gibook install 

    That`s all, see Usage