Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
serve-markdown-it-template-blank
Advanced tools
# serve-markdown-it-template-blank
Blank template skeleton for serve-markdown-it, used to populate new template
modules by sermit init-template
.
README & DOCS TODO
yarn add serve-markdown-it-template-blank
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.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)The standalone JSDoc reference can be found in DOCUMENTATION.md
Blank template skeleton for serve-markdown-it, serving as a reference for the required structure.
Used by the sermit
CLI app to create an empty template repo via the
init-template
command.
Artifacts are stored in & resolved from the public/
folder within the
project root by default.
Static asset (files & folders) definition. Sources prefixed with ~
are
resolved with requireDynamicModule
.
{ 'dest/path': 'src/path' }
Artifacts are stored in & resolved from the public/
folder within the
project root by default.
SCSS style definition, { dest: src }
Unique name to identify template; should form the package name when prefixed
with serve-markdown-it-template-
.
Absolute path to rendered resources folder, ready for serving.
Nunjucks templates are in res/templates
within the template root by
default.
Recommended filename
Recommended filename
Sermit~Config
Combine the provided & default configurations as-needed.
string
Generate a markdown string to display an image at relPath
.
string
Generate a markdown string to render raw file contents.
Sermit~Renderer
Directory listing renderer.
Sermit~FileRenderer
Single file renderer.
Blank template skeleton for serve-markdown-it, serving as a reference for the required structure.
Used by the sermit
CLI app to create an empty template repo via the
init-template
command.
Artifacts are stored in & resolved from the public/
folder within the
project root by default.
Static asset (files & folders) definition. Sources prefixed with ~
are
resolved with requireDynamicModule
.
{ 'dest/path': 'src/path' }
Artifacts are stored in & resolved from the public/
folder within the
project root by default.
SCSS style definition, { dest: src }
Unique name to identify template; should form the package name when prefixed
with serve-markdown-it-template-
.
Absolute path to rendered resources folder, ready for serving.
Nunjucks templates are in res/templates
within the template root by
default.
Recommended filename
Recommended filename
Sermit~Config
Combine the provided & default configurations as-needed.
Kind: global function
Returns: Sermit~Config
- config
Param | Type | Default | Description |
---|---|---|---|
[userConfig] | Sermit~Config | {} | provided configuration |
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. |
string
Generate a markdown string to render raw file contents.
Kind: global function
Returns: string
- md
Param | Type | Description |
---|---|---|
params | object | params |
params.srcPath | string | path to file, resolvable locally via fs |
Sermit~Renderer
Directory listing renderer.
Kind: global function
Returns: Sermit~Renderer
- renderer
Param | Type | Description |
---|---|---|
templateConfig | Config | template config data. |
Sermit~FileRenderer
Single file renderer.
Kind: global function
Returns: Sermit~FileRenderer
- renderer
Param | Type | Description |
---|---|---|
templateConfig | Config | template config data. |
FAQs
Blank template skeleton for serve-markdown-it
The npm package serve-markdown-it-template-blank receives a total of 2 weekly downloads. As such, serve-markdown-it-template-blank popularity was classified as not popular.
We found that serve-markdown-it-template-blank demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.