Simple default template for http-server-md
, supporting multiple color
themes and configurable syntax highlighting.
README & DOCS TODO
pnpm add http-server-md-template-default
pnpm gen-readme // update README.md
pnpm docs // update DOCUMENTATION.md
pnpm test // lint & mocha
pnpm 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
- http-server-md-template-default
Simple default template for http-server-md, supporting multiple color themes and configurable syntax highlighting.
- genImageMarkdown(params) ⇒
string
Generate a markdown string to display an image at
relPath
.
Simple default template for http-server-md, supporting multiple color themes and configurable syntax highlighting.
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. |