[go: up one dir, main page]

Skip to content

isaozler/docsify-accordion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docsify Accordion

Plugin to use accordions in your docsify documentations.

Implement stylesheet + javascript into your document:

<link rel="stylesheet" href="//unpkg.com/docsify-accordion/src/style.css">
<script src="//unpkg.com/docsify-accordion/src/index.js"></script>

Example FAQ Page

Starting your line with +(space) and ending with (space)+ (spaces are important) will convert the list into an accordion

# FAQ Section

Introduction text for the FAQ page.

+ Question 1? +

  Answer 1

+ Question 2? +

  Answer 2

It will look like this.

Screenshot