diff --git a/README.md b/README.md index 647a8d5..073ac25 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,8 @@ mi sitio web personal en https://manuel.cillero.es. * ckeditor 1.1.5 * https://www.redmine.org/plugins/redmine-ckeditor * http://github.com/a-ono/redmine_ckeditor + * Con la librería highlight.js 9.13.1 (https://highlightjs.org) actualizada y + descargada sólo para los lenguajes requeridos (ver `config/ckeditor.yml`) ### Redmine Q&A plugin diff --git a/config/ckeditor.yml b/config/ckeditor.yml index 636b5a5..c2adb24 100644 --- a/config/ckeditor.yml +++ b/config/ckeditor.yml @@ -6,6 +6,34 @@ removePlugins: 'codemirror,div,flash,forms,iframe,copyformatting,elementspath' forcePasteAsPlainText: false entities: false +# CodeSnipet plugin configuration: +codeSnippet_languages: { + apache: 'Apache', + awk: 'Awk', + bash: 'Bash', + bat: '.bat / DOS', + cpp: 'C++', + css: 'CSS', + diff: 'Diff', + dockerfile: 'Dockerfile', + html: 'HTML', + ini: '.ini / TOML', + java: 'Java', + javascript: 'JavaScript', + json: 'JSON', + makefile: 'Makefile', + markdown: 'Markdown', + nginx: 'Nginx', + php: 'PHP', + perl: 'Perl', + ruby: 'Ruby', + rust: 'Rust', + sql: 'SQL', + xhtml: 'XHTML', + xml: 'XML', + yaml: 'YAML' +} + # Youtube plugin defaults: youtube_responsive: true