From 148aea273444c544303b9b231649c5762213f669 Mon Sep 17 00:00:00 2001 From: yumetodo Date: Sun, 29 Nov 2020 00:05:41 +0900 Subject: [PATCH] fix(docs): known issue due to pulldown-cmark-to-cmark is solved ref: - https://github.com/yumetodo/markdown_img_url_editor/issues/40 --- README.md | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) diff --git a/README.md b/README.md index cc28c93..6ad488e 100644 --- a/README.md +++ b/README.md @@ -23,51 +23,5 @@ fuga`; We use [pulldown-cmark](https://crates.io/crates/pulldown-cmark)(rust libary) to parse. -We use [pulldown-cmark-to-cmark](https://crates.io/crates/pulldown-cmark-to-cmark)(rust libary) to replace. - -## Known Issue - -Because of [pulldown-cmark-to-cmark](https://crates.io/crates/pulldown-cmark-to-cmark) limitation, all code block will be replaced like below: - -`before`: - - ```typescript - console.log("arikitari na sekai"); - ``` - -`after`: - - ````typescript - console.log("arikitari na sekai"); - ```` - -Almost all cases, that is no problem because HTML converted result will be equal. - -However, in some cases, the replaced result will be broken. - -`before`: - -``````markdown -`````markdown -````markdown -```typescript -console.log("arikitari na sekai"); -``` -```` -````` -`````` - -`after`: - - ````markdown - ````markdown - ```typescript - console.log("arikitari na sekai"); - ``` - ```` - ```` - - - ## License [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fyumetodo%2Fmarkdown_img_url_editor.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fyumetodo%2Fmarkdown_img_url_editor?ref=badge_large) \ No newline at end of file