Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
markdown-it-ignore
Advanced tools
Ignore plugin for markdown-it markdown parser.
npm i markdown-it-ignore
var md = require('markdown-it')();
var mii = require('markdown-it-ignore');
md.use(mii [, options]);
Options:
secure
(type: boolean
, default: true
): Secure HTML outputDifferences in browser. If you load the script directly into the page without
using a package system, the module will add itself globally with the name markdownitIgnore
.
Init code will look a bit different in this case:
var md = window.markdownit().use(window.markdownitIgnore);
In your markdown you can use :::
as block separator to not parse what is inside.
It is similar to the fence block, but no <pre>
nor <code>
tags are added.
Example:
*This will be parsed*
:::
*This won't be parsed*
:::
Output:
<p><strong>This will be parsed</strong></p>
*This won't be parsed*
If you want to insert HTML inside the ignore block, set the secure
option to false
(else HTML characters are escaped).
Example:
:::
<div>This will preserved as is</div>
:::
Output:
<div>This will preserved as is</div>
FAQs
Ignore plugin for markdown-it markdown parser.
The npm package markdown-it-ignore receives a total of 22 weekly downloads. As such, markdown-it-ignore popularity was classified as not popular.
We found that markdown-it-ignore 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.