3.1.1 • Published 7 years ago

jsdoc-remarkable v3.1.1

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

jsdoc-remarkable

GratiPay Downloads Version

Plugin for Remarkable Markdown parser that enables basic JSDoc.

Installation

npm install --save-dev jsdoc-remarkable

Usage

import jsdoc from 'jsdoc-remarkable';
import Remarkable from 'remarkable';

const markdown = new Remarkable();
markdown.use(jsdoc());
markdown.render(...);

JSDoc Support

This plugin is not meant to be a comprehensive implementation of JSDoc. The goal is to provide a small subset of functionality to facilitate beautifully rendered documentation. Majority of other things could be achieved with Markdown.

The following constructs are supported:

@param

@param {(Type1|Type2)} paramName - Param description.

@method

@method methodName
@param {(Type1|Type2)} paramName - Param description.

This is method description.

@property

@property {(Type1|Type2)} propName - Property description.

@event

@event eventName
@param {(Type1|Type2)} paramName - Param description.

This is event description.

@action

@action actionName
@param {(Type1|Type2)} paramName - Param description.

This is action description.

License

ISC

3.1.1

7 years ago

3.1.0

8 years ago

3.0.0

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.0

8 years ago