
Security News
Federal Government Rescinds Software Supply Chain Mandates, Makes SBOMs Optional
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.
This is a fork of marked
Why?
yarn add md
You can find a CDN version at https://unpkg.com/md/
const md = require('md')
const html = md(`## hello world
A modern **markdown** parser!
- [ ] todo
- [x] done
`)
You can preview the HTML result here: https://egoist.moe/md2html/ (source)
Type: string
Required: true
Input markdown string.
All marked options plus:
Type: boolean
Default: true
Enable GFM task lists, this will only work if options.gfm is true.
Type: boolean | (href: string) => boolean
Default: undefined
Open links in a new window/tab.
Type: boolean
Default: true
Add data-line attribute to <pre> tag for code fences, it's useful with the line-highlight plugin in PrismJS.
```js{1}
console.log('hi')
```
This will yield:
<pre data-line="1"><code class="lang-js">console.log('hi')</code></pre>
git checkout -b my-new-featuregit commit -am 'Add some feature'git push origin my-new-feature# lint and unit test
yarn test
# lint only
yarn lint
# fix lint issues
yarn lint -- --fix
md © egoist, Released under the MIT License.
Authored and maintained by egoist with help from contributors (list).
egoist.moe · GitHub @egoist · Twitter @_egoistlily
FAQs
A markdown parser and compiler. Built for speed.
The npm package md receives a total of 75 weekly downloads. As such, md popularity was classified as not popular.
We found that md 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
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.