HTML API
First off, thanks for making this awesome plugin!
I suggest not requiring JavaScript for basic usage. Lots of people aren't comfortable with it.
Have a codeflask class that when people use it, these elements are automatically made into editors.
Similarly, default language can just be defined on an ancestor, like <body class="language-css">: This is just basic Prism.js functionality, you don't even need to implement it yourself :) Just include it in the docs.
Makes sense, I will implement it tomorrow.
I think it could be done using WebComponents, for example creating a new "editor" or "codeflask" tag. For the default languaje, is better to use data attributes.
#39 gracefully implements most of this request by using Web Components, however there still isn't an option to "put a class in body and highlight all codes in the page", so I will be keeping it open, for now.
I will implement it tomorrow.
Learning the hard way to never put a deadline to an OS issue.
Since CodeFlask v1+ removed #39 (in order to stay lean, wrappers and components should be totally new projects). I think it now makes sense to reimplement this directly into CodeFlask.
No deadlines, tho.
For anyone willing to help, I'm all for it.
thanks for the honesty ;) @kazzkiq