Replace code flask with a more active alternative
Code flask was last updated 5yrs ago, and can be slow on large inputs.
https://github.com/WebCoder49/code-input seems to be quite active with the last release only 3 months ago. The setup looks similar to code flask and it also utilises prism.js or highlight.js for syntax highlighting.
Was thinking about this the other day. CC @Bowrna, since you've a CodeFlask related PR in the works.
Yes I can check this.
Is there any information on when code flask will be replaced? I have users complaining about problems related to upstream issue https://github.com/kazzkiq/CodeFlask/issues/72. A fix should be relatively simple and I'm willing to give it a try, but it wouldn't be of any use if an alternative is ready for the next release.
hello @Remceau i was working on this PR https://github.com/knadh/listmonk/pull/2139 that replaces code flask with code-input. Due to health issues, I didn't try closing the PR as promised. I will try closing this.
Ended up replacing CodeFlask with CodeMirror.
Ref: https://github.com/knadh/listmonk/commit/ba5e77b868370ba8c0d263b845583b739771e2ea
Looking forward to a new beta with this patch applied 😊
@knadh thanks, Im running v5.beta.2 and CodeMirror is much more performant and much easier to add custom styles