serve-markdown-it-template-default

1.0.7 • Public • Published

serve-markdown-it-template-default

NPM Version Build Status Downloads Stats

Simple default template for serve-markdown-it, supporting multiple color themes and configurable syntax highlighting.

README & DOCS TODO

Installation

npm badge

yarn add serve-markdown-it-template-default

Developing

yarn gen-readme // update README.md
yarn docs // update DOCUMENTATION.md
yarn test // lint & mocha
yarn update-deps // bump all deps

Release History

See CHANGELOG.md for more information.

License

Distributed under the MIT license. See LICENSE.md for more information.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

API Reference

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.

Package Sidebar

Install

npm i serve-markdown-it-template-default

Weekly Downloads

2

Version

1.0.7

License

MIT

Unpacked Size

1.71 MB

Total Files

542

Last publish

Collaborators

  • f3rno