Skip to content
Jquery tool to make header collapsible in markdown posts
JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
README.md
md-post-header-collapse.css
md-post-header-collapse.js
md-post-header-collapse.scss

README.md

md-post-header-collapse

A jquery tool to make header collapsible in markdown post

Requirements

  1. Bootstrap
  2. Standard Jekyll/Hexo Post based on Markdown
  3. jQuery

Installation

Add JS and CSS to your project.

Usage

    $.headerCollapseRobot('#page-content', ['h1', 'h2', 'h3'], ['blockquote']);
You can’t perform that action at this time.