Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@vuepress/markdown
Advanced tools
markdown library for vuepress
A map constant containing the names of all built-in markdown-it plugins.
const { isRequiredPlugin } = require('@vuepress/markdown')
console.log(isRequiredPlugin(PLUGINS.COMPONENT)) // true
console.log(isRequiredPlugin(PLUGINS.HIGHLIGHT_LINES)) // false
Remove the specified built-in markdown-it plugin in VuePress.
It's needed to use with VuePress's Plugin API > chainMarkdown.
// Your VuePress Plugin or site config.
const { removePlugin } = require('@vuepress/markdown')
module.exports = {
chainMarkdown (config) {
removePlugin(config, PLUGINS.HIGHLIGHT_LINES)
}
}
Note that
PLUGINS.COMPONENT
andPLUGINS.ANCHOR
are required in VuePress, It is forbidden to delete them!
Remove all built-in but not 100% necessary markdown-it plugins in VuePress.
// Your VuePress Plugin or site config.
module.exports = {
chainMarkdown (config) {
require('@vuepress/markdown').removeAllBuiltInPlugins(config)
}
}
1.0.0-alpha.40 (2019-02-27)
--open
(close: #1320) (#1329) (b97e9ee) @Shigmarb
support for syntax highlighting (#1312) (dad2928) @Fabio Anselmoh1
text at homepage (#1326) (598799f) @Ahmad Nassri<a name="1.0.0-alpha.39"></a>
FAQs
markdown for vuepress
The npm package @vuepress/markdown receives a total of 23,707 weekly downloads. As such, @vuepress/markdown popularity was classified as popular.
We found that @vuepress/markdown demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.