5 KiB
hello world
[72....................................................................]
[80............................................................................]
-
foo
[72....................................................................] [80............................................................................]
- bar
[72....................................................................] [80............................................................................]
- bar
a123456789b123456789c123456789d123456789e123456789f123456789g123456789h123456789i123456789j123456789k123456789l123456789m123456789n123456789o123456789p123456789q123456789r123456789s123456789t123456789u123456789v123456789w123456789x123456789y123456789z123456789
bar & baz ?foo=bar&baz=qwe&rty
<foo> bar & <span>baz</span>
<a href="?foo=bar&baz=qwe&rty">?foo=bar&baz=qwe&rty</a>
<!-- visible -->
fails marked/showdown/tui/simplemde (just italics), OK: markdown-it/simplemde:
testing just google.com and underscored google.com also with google.com, trailing comma and google.com, comma after
fails tui (just italics), OK: marked/showdown/markdown-it/simplemde:
testing just https://google.com and underscored https://google.com links like that
fails marked (no markup) and showdown/tui/simplemde (no links at all), OK: markdown-it:
let's try <google.com> bracketed and <google.com> underscored bracketed
fails marked (literal underscore), OK: showdown/markdown-it/simplemde:
let's try https://google.com bracketed and https://google.com underscored bracketed
fails none:
and then google verbose and google underscored
fails none:
and then google verbose and google underscored
all behave similarly (only verbose ones):
and then or maybe <./local> fsgfds fsgfds
and then [local] or maybe [./local] fsgfds [/absolute] fsgfds
and then (local) or maybe (./local) fsgfds (/absolute) fsgfds
and then or maybe fsgfds fsgfds
and then . or maybe . fsgfds . fsgfds
and then asdf or maybe asdf fsgfds asdf fsgfds
ng/OK/OK/OK markdown-it
ng/OK/ng/OK marked
ng/OK/OK/OK showdown
OK/OK/OK/OK simplemde
[with spaces](/with spaces) plain, with spaces %20, with spaces brackets, with spaces %20
this fails marked, OK: markdown-it, simplemde:
-
testing a list with:
some code after a newline
-
testing a list with: just a newline
and here is really just a newline toplevel
this fails showdown/hypermd, OK: marked/markdown-it/simplemde:
-
testing a list with
code here and a newline this should have two leading spaces
-
second list level
more code here and a newline this should have two leading spaces
-
.
-
testing a list with
code here and a newline this should have two leading spaces
-
second list level
more code here and a newline this should have two leading spaces
-
this fails stackedit, OK: showdown/marked/markdown-it/simplemde:
a table | with no header |
second row | foo bar |
this fails showdown/stackedit, OK: marked/markdown-it/simplemde:
a table | on the right |
second row | foo bar |
- list entry
- yes
- no
- another entry
s1
ep1
ep2
s2
ep1
ep2
s3
ep1
ep2
#######################################################################
marked: works in last ff/chrome for xp bug: config{breaks:true} does nothing in 1.0 use whitespace, no tabs
showdown: ie6 and ie8 broken, works in last ff/chrome for xp
markdown-it: works in last ff/chrome for xp use whitespace, no tabs no header anchors
tui wysiwyg: requires links to be http:// or title
links: http://demo.showdownjs.com/ https://marked.js.org/demo/ https://markdown-it.github.io/ https://simplemde.com/
all-pass:
https://github.com/joemccann/dillinger https://dillinger.io/ uses markdown-it
https://github.com/markdown-it/markdown-it https://markdown-it.github.io/
almost-all-pass:
https://github.com/Ionaru/easy-markdown-editor https://easymde.tk/ simplemde fork (the most active)
https://github.com/Inscryb/inscryb-markdown-editor simplemde fork
other simplemde forks: pulkitmittal
https://simplemde.com/ (dead)
https://github.com/nhn/tui.editor https://nhn.github.io/tui.editor/latest/tutorial-example01-editor-basic ie10 and up
unrelated neat stuff: https://github.com/gnab/remark
awk '/./ {printf "%s %d\n", $0, NR; next} 1' <test.md >ln.md
gawk '{print gensub(/([a-zA-Z\.])/,NR" \\1","1")}' <test.md >ln.md