In this episode, we add a markdown shortcut toolbar to our text area to make it much easier to format text with just a click. We look at how to quickly install a markdown toolbar package, do the necessary setup like a global import, and wire it up to our existing text area.
Once it's working, we explore how to customize which markdown buttons are available—for example, adding bold, italic, code, and link buttons, and discussing which ones might be essential for users. We troubleshoot a couple of minor issues (like missing textarea IDs) and show how things just work out of the box after resolving them.
To make things more reusable, we refactor the markdown toolbar into a separate component, so it can be plugged into different parts of our app as needed. We also touch on a little bit of styling to clean up the look and make sure the toolbar feels clickable and user-friendly.
By the end of this video, your app should have an easy-to-use markdown shortcut toolbar, ready to make writing and formatting a breeze! Next up, we'll jazz things up with some SVG icons.