Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
andfrob
· 4y ago · 0 comments
This would be worth checking out, which shows how CKEditor implements markdown editing:
https://onlinemarkdowneditor.dev/
Comments
[–]
Marta_B
4y ago
Yes, CKEditor accepts Markdown input thanks to a customizable autoformatting feature:
https://ckeditor.com/docs/ckeditor5/latest/features/autoform...
This allows users to employ all the familiar shortcodes on the go. It's basically the user's choice whether to type in Markdown or use the rich-text formatting buttons. Additionally, it's possible to switch the default CKEditor 5 output from HTML to Markdown:
https://ckeditor.com/docs/ckeditor5/latest/features/markdown...