How to add a custom button to WP-Markdown?
-
First of all, awesome plugin, pretty much flawless, great job.
I am using WP-Markdown on my notes blog, and have the need to add a custom button that wraps selected text in
<kbd>
and</kbd>
tags.While I do not know JavaScript or PHP, I should be able to do it myself if you can provide me some clear pointers.
EDIT: I already tried to follow the code in ‘Markdown.Editor.js’ to no avail. ?? Well, it really looks like some complex JavaScript code. If you can show me a code block in the file that I should follow (to duplicate it and create my own button), it would be great!
Hope I can get some help here. Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to add a custom button to WP-Markdown?’ is closed to new replies.