
Product
Introducing Immutable Scans
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.
markdown-element
Advanced tools
HTML Element for markdown content.
Usage:
<body>
<script src="https://cdn.jsdelivr.net/npm/markdown-element@latest/dist/markdown-elements.min.js"></script>
<mark-down>
## h2
* test
* test2
```javascript
let x = 'asdf'
class Text {
constructor() {
}
}
```
</mark-down>
</body>
The following element properties can be used to change the render settings. They can be set either from JavaScript or from HTML.
noGFM is true.noGFM is true.Examples:
<mark-down notables pedantic>
# h1
* test
</mark-down>
let marked = document.createElement('mark-down')
marked.noGFM = true;
marked.smartyPants = true;
document.body.appendChild(marked);
If you want to build the component into the JavaScript bundle of your app you can do so easily, but you'll need to handle loading a WebComponents polyfill on your own.
FAQs
HTML Element for markdown content.
The npm package markdown-element receives a total of 14 weekly downloads. As such, markdown-element popularity was classified as not popular.
We found that markdown-element 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.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.