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.
remark-loader
Advanced tools
Load markdown through remark
with built-in image resolution.
Simply add the loader to your configuration, and pass options.
webpack.config.js
module.exports = {
// ...
module: {
rules: [
{
test: /\.md$/,
use: [
{
loader: 'remark-loader',
options: {
plugins: [
require('remark-kbd')
]
}
}
]
}
]
}
}
Here's the full list of remark
plugins. Note that remark-html
is always included as the last plugin and should not be included in the
plugins
list.
This loader makes use of the
html-loader
under the hood.
We no longer support any react
specific features. Please see the wonderful
MDX project if you're interested in mixing JSX with Markdown.
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
This project was inspired the following open source work:
MIT (c) 2017
1.0.0-rc.0 (2019-06-10)
react
option has been removed. Our implementation
was extremely hacky and led to a bunch of pitfalls. Please use MDX as an
alternative.<a name="0.3.2"></a>
FAQs
Load markdown through remark with some react-specific features.
The npm package remark-loader receives a total of 12,553 weekly downloads. As such, remark-loader popularity was classified as popular.
We found that remark-loader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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.