refactory-id / bootstrap-markdown

Bootstrap plugin for markdown editing
Apache License 2.0
1.99k stars 370 forks source link

Possibility to add dropdown Heading menu that consists of H1, H2, H3 #240

Open aryoxp opened 8 years ago

aryoxp commented 8 years ago

How can I add additional buttons (or a dropdown menu) in order to add another H1, H2, or H3 on selected text instead of always creating H3 when I click the H button? The feature would be great.

adriansuter commented 8 years ago

If you know javascript a little bit, this may help you: http://codepen.io/adriansuter/pen/yOZRwX