Skip to content

Commit 22d3c4b

Browse files
committed
run verb to generate readme
1 parent bbfd1d2 commit 22d3c4b

File tree

2 files changed

+65
-31
lines changed

2 files changed

+65
-31
lines changed

README.md

Lines changed: 50 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
# helper-markdown [![NPM version](https://img.shields.io/npm/v/helper-markdown.svg)](https://www.npmjs.com/package/helper-markdown) [![Build Status](https://img.shields.io/travis/helpers/helper-markdown.svg)](https://travis-ci.org/helpers/helper-markdown)
1+
# helper-markdown [![NPM version](https://img.shields.io/npm/v/helper-markdown.svg?style=flat)](https://www.npmjs.com/package/helper-markdown) [![NPM monthly downloads](https://img.shields.io/npm/dm/helper-markdown.svg?style=flat)](https://npmjs.org/package/helper-markdown) [![NPM total downloads](https://img.shields.io/npm/dt/helper-markdown.svg?style=flat)](https://npmjs.org/package/helper-markdown) [![Linux Build Status](https://img.shields.io/travis/helpers/helper-markdown.svg?style=flat&label=Travis)](https://travis-ci.org/helpers/helper-markdown)
22

33
> Markdown template helper. Uses remarkable to render markdown in templates. Should work with Handlebars, Lo-Dash or any template engine that supports helper functions.
44
5+
## Table of Contents
6+
57
- [Install](#install)
68
- [API](#api)
79
- [Usage examples](#usage-examples)
@@ -11,11 +13,7 @@
1113
* [verb](#verb)
1214
* [handlebars](#handlebars)
1315
* [lodash](#lodash)
14-
- [Related projects](#related-projects)
15-
- [Running tests](#running-tests)
16-
- [Contributing](#contributing)
17-
- [Author](#author)
18-
- [License](#license)
16+
- [About](#about)
1917

2018
_(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_
2119

@@ -24,7 +22,13 @@ _(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](
2422
Install with [npm](https://www.npmjs.com/):
2523

2624
```sh
27-
$ npm i helper-markdown --save
25+
$ npm install --save helper-markdown
26+
```
27+
28+
Install with [yarn](https://yarnpkg.com):
29+
30+
```sh
31+
$ yarn add helper-markdown
2832
```
2933

3034
## API
@@ -111,7 +115,7 @@ app.helper('markdown', require('helper-markdown'));
111115

112116
### assemble
113117

114-
To register the helper for use with [assemble](http://assemble.io) v0.6.0 and higher:
118+
To register the helper for use with [assemble](https://github.com/assemble/assemble) v0.6.0 and higher:
115119

116120
```js
117121
assemble.helper('markdown', require('helper-markdown'));
@@ -157,39 +161,59 @@ _.template('<%= markdown("# heading") %>', {}, settings);
157161
//=> '<h1>heading</h1>\n'
158162
```
159163

160-
## Related projects
164+
## About
165+
166+
### Related projects
167+
168+
* [assemble](https://www.npmjs.com/package/assemble): Get the rocks out of your socks! Assemble makes you fast at creating web projects… [more](https://github.com/assemble/assemble) | [homepage](https://github.com/assemble/assemble "Get the rocks out of your socks! Assemble makes you fast at creating web projects. Assemble is used by thousands of projects for rapid prototyping, creating themes, scaffolds, boilerplates, e-books, UI components, API documentation, blogs, building websit")
169+
* [handlebars](https://www.npmjs.com/package/handlebars): Handlebars provides the power necessary to let you build semantic templates effectively with no frustration | [homepage](http://www.handlebarsjs.com/ "Handlebars provides the power necessary to let you build semantic templates effectively with no frustration")
170+
* [lodash](https://www.npmjs.com/package/lodash): Lodash modular utilities. | [homepage](https://lodash.com/ "Lodash modular utilities.")
171+
* [template](https://www.npmjs.com/package/template): Render templates using any engine. Supports, layouts, pages, partials and custom template types. Use template… [more](https://github.com/jonschlinkert/template) | [homepage](https://github.com/jonschlinkert/template "Render templates using any engine. Supports, layouts, pages, partials and custom template types. Use template helpers, middleware, routes, loaders, and lots more. Powers assemble, verb and other node.js apps.")
172+
* [underscore](https://www.npmjs.com/package/underscore): JavaScript's functional programming helper library. | [homepage](http://underscorejs.org "JavaScript's functional programming helper library.")
173+
* [verb](https://www.npmjs.com/package/verb): Documentation generator for GitHub projects. Verb is extremely powerful, easy to use, and is used… [more](https://github.com/verbose/verb) | [homepage](https://github.com/verbose/verb "Documentation generator for GitHub projects. Verb is extremely powerful, easy to use, and is used on hundreds of projects of all sizes to generate everything from API docs to readmes.")
161174

162-
* [assemble](https://www.npmjs.com/package/assemble): Assemble is a powerful, extendable and easy to use static site generator for node.js. Used… [more](https://www.npmjs.com/package/assemble) | [homepage](https://github.com/assemble/assemble)
163-
* [handlebars](https://www.npmjs.com/package/handlebars): Handlebars provides the power necessary to let you build semantic templates effectively with no frustration | [homepage](http://www.handlebarsjs.com/)
164-
* [lodash](https://www.npmjs.com/package/lodash): Lodash modular utilities. | [homepage](https://lodash.com/)
165-
* [template](https://www.npmjs.com/package/template): Render templates using any engine. Supports, layouts, pages, partials and custom template types. Use template… [more](https://www.npmjs.com/package/template) | [homepage](https://github.com/jonschlinkert/template)
166-
* [underscore](https://www.npmjs.com/package/underscore): JavaScript's functional programming helper library. | [homepage](http://underscorejs.org)
167-
* [verb](https://www.npmjs.com/package/verb): Documentation generator for GitHub projects. Verb is extremely powerful, easy to use, and is used… [more](https://www.npmjs.com/package/verb) | [homepage](https://github.com/verbose/verb)
175+
### Contributing
168176

169-
## Running tests
177+
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
170178

171-
Install dev dependencies:
179+
### Contributors
180+
181+
| **Commits** | **Contributor** |
182+
| --- | --- |
183+
| 14 | [jonschlinkert](https://github.com/jonschlinkert) |
184+
| 2 | [almeidap](https://github.com/almeidap) |
185+
| 1 | [doowb](https://github.com/doowb) |
186+
187+
### Building docs
188+
189+
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
190+
191+
To generate the readme, run the following command:
172192

173193
```sh
174-
$ npm i -d && npm test
194+
$ npm install -g verbose/verb#dev verb-generate-readme && verb
175195
```
176196

177-
## Contributing
197+
### Running tests
178198

179-
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/helper-markdown/issues/new).
199+
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
200+
201+
```sh
202+
$ npm install && npm test
203+
```
180204

181-
## Author
205+
### Author
182206

183207
**Jon Schlinkert**
184208

185209
* [github/jonschlinkert](https://github.com/jonschlinkert)
186-
* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
210+
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
187211

188-
## License
212+
### License
189213

190-
Copyright © 2016 [Jon Schlinkert](https://github.com/jonschlinkert)
191-
Released under the MIT license.
214+
Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
215+
Released under the [MIT License](LICENSE).
192216

193217
***
194218

195-
_This file was generated by [verb](https://github.com/verbose/verb) on January 15, 2016._
219+
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 22, 2017._

package.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@
5252
"template"
5353
],
5454
"verb": {
55+
"toc": true,
56+
"layout": "default",
57+
"tasks": [
58+
"readme"
59+
],
60+
"plugins": [
61+
"gulp-format-md"
62+
],
5563
"related": {
5664
"list": [
5765
"assemble",
@@ -68,11 +76,13 @@
6876
"lodash",
6977
"templates",
7078
"underscore",
71-
"verb"
72-
],
73-
"plugins": [
74-
"gulp-format-md"
79+
"verb",
80+
"generate",
81+
"generate-helper",
82+
"helpers"
7583
],
76-
"layout": "default"
84+
"lint": {
85+
"reflinks": true
86+
}
7787
}
7888
}

0 commit comments

Comments
 (0)