Add a syntax highlighter to the CMS editor
Closed this issue · 7 comments
Description
When publishing a tutorial/guideline/how-to article, we obviously want it to be user-friendly and properly formatted so that it is easy to use and read. We want to have a syntax highlighting feature.
Suggestion
Install a wagtail plugin like https://github.com/FlipperPA/wagtailcodeblock
@Alex-Pavlyuk can we have this relatively soon?
Hi @popovayoana ok we'll try to prioritize the work
@Alex-Pavlyuk @alexmorev fantastic, you rock! thanks a lot!
@popovayoana ready. check here: https://ckan.org/blog/migrating-ckan-28-to-ckan-29
@Alex-Pavlyuk great, looks good! can we have it in black though? i think it looks better, wdyt?
@popovayoana, it requires changing the library styles, which can affect the ability to update the library in the future. I prefer to leave it as it is now.
@Alex-Pavlyuk ok, let's consider it FIXED then...