Free
Maak de overgang naar werken op afstand eenvoudiger met een gratis proefperiode van 180 dagen. 
Begin nu
free
5 2  votes

Highlight code

Highlight syntax of the code selecting the necessary language, style, and background color.

Compatible products

Personal Cloud

Cloud Service

Community Edition

Enterprise Edition

Integration Edition

Developer Edition

Desktop Editors

For support requests

support.onlyoffice.com

Compatible products

Personal Cloud

Cloud Service

Community Edition

Enterprise Edition

Integration Edition

Developer Edition

Desktop Editors

For support requests

support.onlyoffice.com

Highlight syntax of the code selecting the necessary language, style, and background color.

free
5 2  votes

Compatible products

Personal Cloud

Cloud Service

Community Edition

Enterprise Edition

Integration Edition

Developer Edition

Desktop Editors

For support requests

support.onlyoffice.com
Install now

Overview

The Highlight code plugin allows you to highlight syntax of the code in text documents, spreadsheets, and presentations with the ability to select the necessary programming language, style, background color. The plugin uses the highlight.js engine.

Supported languages and styles

Supported languages: apache, bash, shell, matlab, erlang, javascript, profile, ruby, prolong, swift, sql, java, http, fortran, perl, xml, cpp, json, cs, nginx, basic, markdown, css, python, objectivec, php, delphi.

Supported styles: Googlecode, GitHub, GitHub Gist, Android Studio, Visual Studio, Visual Studio 2015, Idea, Qtcreator Dark, Qtcreator Light, XCode, Fortran, Foundation, XML 1, XML 2.

The plugin is pre-installed in ONLYOFFICE Enterprise Edition, Community Edition (Document Server + Community Server), ONLYOFFICE Integration Edition, ONLYOFFICE cloud service, and ONLYOFFICE Personal.

How to use

  • Select a part of the text you would like to highlight as a code.
  • Choose Highlight code from the Plugins tab.
  • Select the necessary programming language (e.g. JavaScript, Ruby, Python, etc).
  • Select the necessary style (e.g. GitHub, XCode, Idea, etc).
  • Apply any background color.
  • If necessary, replace tabs with spaces using the corresponding option.
  • Click the Ok button.