calumk / editorjs-codecup

editorjs-codecup
7 stars 1 forks source link

select language in dropdown menu #4

Closed idea-notes closed 7 months ago

idea-notes commented 7 months ago

Hellow, best code plugin available, good job. But what about drop down menu to select language?

And is there any way to change highlight to another theme, dark, for example?

calumk commented 7 months ago

Old version had a drop down. new version supports ALL languages supported by https://prismjs.com/

Just type the name in, it will be async loaded - I felt this was easier.

idea-notes commented 7 months ago

Ok, thanks

calumk commented 7 months ago

In regard to dark theme, I don't have this currently supported

I think there was one in codeFlask, there are bits of code left that supported it... But not exposed