Modifying code to add .code when wrapping element in 'pre'. ExecFormatBlock → check if el == 'pre', if so, get the element and add code className.

Add hljs highlighting when adding 'pre.code' wrap (when pressing code button on toolbar). execFormatBlock → hljs.highlightBlock(selectionData.el);

Setting medium to add hljs highlighting upon pressing enter in a 'pre' block. (idea is user presses enter to leave the code segment, and highlighting is added). ALTERNATIVE → just do it on keyup. I did this by checking for 'pre' when e.which == 13 in bindParagraphCreation. Then I use tagName and className with jQuery to iterate over all matching elements (I did each b/c you will often have more than one code segment on a page) and highlight them.

Pasting → I escape HTML when pasting, using the escapeHTML function I added. I did this so I could paste in code with html and not have it come out as html.

Hotkeys → Added this function that works kind of like bindREturn, bindTab, bindParagraphCreation. Ctrl 1-6 for Headings(h3 & h4), Code, Block Quote, ordered and unordered lists. Hotkeys function adds 'keydown' listener, and if ctrlKey is pressed, go through switch statement.