Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
markdown-toolset
Advanced tools
Tiny module for markdown editing
There are plenty of markdown editors out there but no simple small tool that provides just basic markdown editing capabilities without binding you to specific editor implementation.
npm install markdown-toolset --save
or
bower install markdown-toolset --save
or just git clone and include dist/markdown-toolset.js on your page.
In browser it will try to find angular
and register itself as markdown-toolset
module. You then can include it in your module dependencies and inject markdownToolset
service.
Without angular it will just pollute global scope with markdownToolset
object.
var mt = require('markdown-toolset')
mt.italic('text') //*text*
mt.bold('text') //**text**
mt.h1('text') //# text
mt.h2('text') //## text
mt.h3('text') //### text
mt.h4('text') //#### text
mt.h5('text') //##### text
mt.h6('text') //###### text
mt.ul('line1\nline2\nline3') //* line1
//* line2
//* line3
mt.ol('line1\nline2\nline3') //1. line1
//2. line2
//3. line3
mt.code('line1\nline2\nline3') // line1
// line2
// line3
mt.hr() //***
//
Need to include support for .link() and .image(). Might be a good idea to make it configurable.
MIT
FAQs
Tiny module for markdown editing.
The npm package markdown-toolset receives a total of 1 weekly downloads. As such, markdown-toolset popularity was classified as not popular.
We found that markdown-toolset 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.