Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

antlr-md

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antlr-md

使用 antlr4 开发的 markdown 解析器.

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

antlr md

使用 antlr4 开发的 markdown 解析器.

特性

  • 使用 antlr4 开发
  • 使用 Typescript 语言
  • 支持浏览器环境

使用

npm i antlr-md
import { parse, render } from 'antlr-md';

const mdText = `# 大标题

## 二级标题

这是正文。

`
console.log(render(parse(mdText))) 

MD语法支持情况

  • 多级标题 (# hello)
  • 内联代码 (hello)
  • 块代码 (```)
  • 项目列表 (-)
  • 可选项目列表
  • 加粗 (**)
  • 倾斜字体 (*)
  • 删除线 (~)
  • HTML 标签支持

License

MIT

FAQs

Package last updated on 06 May 2023

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