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

marked-completed

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marked-completed

markdown

  • 1.2.14
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

marked completed

该插件来自于对 marked 的二次开发, 增加对以下语法的支持

  • TOC [TOC]
  • emoji :small:
  • mark ==mark==
  • sup ^sup^
  • sub ~sub~
  • ins ++ins++
  • s ~~s~~
  • inline katex $\underbrace{a+b+\dots+n}_{m2}$
  • katex $$\underbrace{a+b+\dots+n}_{m2}$$
  • colorFont \color{red}{红色文字}\color{red|4|黑体|0.4}{红色文字4号黑体字40%透明度}\color{red||黑体}{红色文字黑体}

添加配置项

  • emojiSource 自定义展示的emoji图片源, 比如设置为 xxx.com/img/, 当你输入 :small: 时, 则通过 xxx.com/img/small.png 显示对应的emoji
  • emoji 匹配到emoji时, emoji的映射表, 比如 {small:'😊'}, 当你输入 :small: 则渲染出 😊
  • langLineNumber 添加一个标注于显示代码行号的类名, 比如设置为 true
  • langToolbar 在代码块的输出中添加一个功能栏, 比如设置为 ['copy']

Keywords

FAQs

Package last updated on 13 Dec 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