Coding is as much a matter of personal growth as it is of logic and control-flow. I keep patience, curiosity, & exuberance in the same toolbox as vim and git.
*Opinions posted are my own*
For just highlighting, you might want to use the marked-element webcomponent, which has a syntax-highlight event that you can listen to in order to highlight the rendered markdown.
Coding is as much a matter of personal growth as it is of logic and control-flow. I keep patience, curiosity, & exuberance in the same toolbox as vim and git.
*Opinions posted are my own*
<monaco-editor> looks good but uses polymer 2 i.e. HTML Imports and bower. Perhaps the author could be convinced to update to polymer 3 with es modules and npm
For just highlighting, you might want to use the
marked-element
webcomponent, which has asyntax-highlight
event that you can listen to in order to highlight the rendered markdown.<monaco-editor> looks good but uses polymer 2 i.e. HTML Imports and bower. Perhaps the author could be convinced to update to polymer 3 with es modules and npm
<ace-widget> is installed with npm and loaded with modules, supports code highlighting, check out the demos where they have a JS editor