serve-markdown-it-template-default
![Downloads Stats](https://img.shields.io/npm/dm/serve-markdown-it-template-default.svg?style=flat-square)
Simple default template for serve-markdown-it
, supporting multiple color
themes and configurable syntax highlighting.
README & DOCS TODO
![npm badge](https://nodei.co/npm/serve-markdown-it.png?downloads=true&downloadRank=true&stars=true)
yarn add serve-markdown-it-template-default
yarn gen-readme // update README.md
yarn docs // update DOCUMENTATION.md
yarn test // lint & mocha
yarn update-deps // bump all deps
See CHANGELOG.md for more information.
Distributed under the MIT license. See LICENSE.md for more information.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
The standalone JSDoc reference can be found in DOCUMENTATION.md
Modules
- serve-markdown-it-template-default
Simple default template for serve-markdown-it, supporting
multiple color themes and configurable syntax highlighting.
Functions
- genImageMarkdown(params) ⇒
string
Generate a markdown string to display an image at relPath
.
serve-markdown-it-template-default
Simple default template for serve-markdown-it, supporting
multiple color themes and configurable syntax highlighting.
License: MIT
genImageMarkdown(params) ⇒ string
Generate a markdown string to display an image at relPath
.
Kind: global function
Returns: string
- md
Param | Type | Description |
---|
params | object | params |
params.relPath | string | path relative to content root path. |
params.name | string | image alt text. |