Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.
/ styledocdown Public archive

Parse style-doc comment tags and output a markdown document

Notifications You must be signed in to change notification settings

etylsarin/styledocdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

styledocdown

NPM version Build Status

Parse style-doc comment tags and output as a markdown document

/**
* @name Panels
* @summary Panel creates a simple box which visualy separates its content from other blocks.
* @description ../../docs/styleguide/_panels.md
* @example ../../docs/snippets/_panels.html
* @tutorial ../../docs/snippets/_panels.html
*/

.panel {
	padding: 15px;
	margin-bottom: 10px;
	background: #fff;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

Usage

Add styledocdown to your build tool:

npm install styledocdown --save-dev

Node

require('styledocdown').process(YOUR_CSS, { /* options */ });

Gulp

Use existing gulp-styledocdown plugin.

Options

options.root (optional)

Type: String
Default: File directory

Set the location where the linked files are hosted.

License

MIT License

About

Parse style-doc comment tags and output a markdown document

Resources

Stars

Watchers

Forks

Packages

No packages published