2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-09-24 16:40:55 -06:00

Added ability to underline

Added the ability to underline selected text in EasyMDE.

You add a button with the following options:

name: "underline",
action: EasyMDE.toggleUnderline,
className: "fa fa-underline",
title: "Underline"

This has had to replace the option to use "__" for bold, as that is what various markdown renderers (Showdown, Discord, etc.) use.

It works in exactly the same way as the EasyMDE.toggleBold function.
This commit is contained in:
Jacob Clayden 2018-08-30 04:53:51 +01:00
parent 4c3ee66e35
commit 579f61b0c7

2
dist/easymde.min.js vendored Normal file → Executable file

File diff suppressed because one or more lines are too long