2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-09-24 16:40:55 -06:00
Jacob Clayden 8913fb446c Added the ability to underline selected text in EasyMDE.
Added the ability to underline selected text in EasyMDE.

You can now 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 etc.) have decided to use.

EasyMDE.toggleUnderline works in exactly the same way as the EasyMDE.toggleBold function, just with "__" instead of "**".
2018-08-30 05:16:16 +01:00
..