New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

discord-markdown

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-markdown

A markdown parser configured with Discord's rules

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
497
decreased by-57.95%
Maintainers
1
Weekly downloads
 
Created
Source

discord-markdown

A markdown parser with the same rules as Discord.

This is still in development. A complete set of tests is needed. If you know any special cases of discord markdown let me know or submit a PR.

Using

yarn add @brussell98/discord-markdown
const { parser, htmlOutput, toHTML } = require('discord-markdown');

console.log(toHTML('This **is** a __test__'));
// => This <strong>is</strong> a <u>test</u>

Fenced codeblocks will include highlight.js tags and classes.

Contributing

Find an inconsistency? File an issue, or submit a pull request with the fix and updated test.

FAQs

Package last updated on 12 Nov 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc