marked-iterm

1.0.0 • Public • Published

marked-iterm

marked-terminal不支持将图片显示在控制台中,marked-iterm在marked-terminal的基础上添加了显示图片的功能(仅支持本地图片)

Install

npm install marked marked-iterm

Example

var marked = require('marked');
var TerminalRenderer = require('marked-iterm');

marked.setOptions({
  renderer: new TerminalRenderer()
});

console.log(marked("![图片](./images/logo.png '500px*500px')"));

Package Sidebar

Install

npm i marked-iterm

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

14.7 kB

Total Files

3

Last publish

Collaborators

  • eastlee