
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
Generate live-samples from markdown files
With livemd you can easily generate runtime browser samples from corresponding code-blocks contained in markdown-files.
Supported languages:
npm install livemd --save-dev
To use with preprocessor languages you need the appropriate modules to be installed.
npm install coffee-script
npm install node-sass
npm install less
npm install hamljs
var livemd = require('livemd');
livemd(src).done(function(result) {
// Do something with the result
})
Type: Array
Default value: []
Provide an array of include paths to pass to scss and less modules. Path to source is included by default.
Type: Function
Default value: null
Filter the input markdown by providing a function taking the original string as argument and returning the modified string.
Type: String
Default value: '<div class="highlight-example"></div>'
Specify a wrapper for the generated live-samples.
FAQs
Generate live-samples from markdown files
We found that livemd 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.