markdown_img_url_editor
TypeScript icon, indicating that this package has built-in type declarations

4.1.1 • Public • Published

markdown_img_url_editor

NPM FOSSA Status

CircleCI Greenkeeper badge

![alt](I want to edit here!)

import { MarkdownImgUrlEditor } from "markdown_img_url_editor";
const markdownText = `hoge
![img](/path/to/file)
fuga`;
const markdownImgUrlEditor = await MarkdownImgUrlEditor.init(await text2.get(), (a, s) => {
  //a: img
  //s: /path/to/file
  return () => s;
});
// do something
const replaced = markdownImgUrlEditor.replace();

We use pulldown-cmark(rust libary) to parse.

License

FOSSA Status

Readme

Keywords

Package Sidebar

Install

npm i markdown_img_url_editor

Weekly Downloads

2

Version

4.1.1

License

BSL-1.0

Unpacked Size

11.8 kB

Total Files

10

Last publish

Collaborators

  • yumetodo