Skip to content

Commit

Permalink
✨ Vditor 所见即所得模式支持链接引用定义 Vanessa219/vditor#55
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Mar 8, 2020
1 parent 5a8b241 commit 486532d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/m2v_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

var md2VditorTests = []parseTest{

{"11", "[foo][1]\n\n[1]: /bar\n", "<p data-block=\"0\"><span data-type=\"link-ref\" data-link-text=\"foo\" data-link-label=\"1\">foo</span>\n</p><p data-block=\"0\" data-type=\"link-ref-defs\">[1]: /bar\n</p>"},
{"11", "[foo][1]\n\n[1]: /bar\n", "<p data-block=\"0\">\u200b<span data-type=\"link-ref\" data-link-label=\"1\">foo</span>\u200b\n</p><p data-block=\"0\" data-type=\"link-ref-defs\">[1]: /bar\n</p>"},
{"10", "Foo\n ---\n", "<p data-block=\"0\">Foo\n---\n</p>"},
{"9", " ***\n ***\n\n- - - -", "<div class=\"vditor-wysiwyg__block\" data-type=\"code-block\" data-block=\"0\" data-marker=\"***\n ***\n\"><pre><code>***\n ***\n</code></pre></div><hr data-block=\"0\" />"},
{"8", " ***\n", "<div class=\"vditor-wysiwyg__block\" data-type=\"code-block\" data-block=\"0\" data-marker=\"***\n\"><pre><code>***\n</code></pre></div>"},
Expand Down

0 comments on commit 486532d

Please sign in to comment.