
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
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 6 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.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.