Free
Легкий переход на удаленную работу с бесплатным триалом 180 дней. 
Начать сейчас
free
5 3  votes

Highlight code

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

Compatible products

ONLYOFFICE Personal

ONLYOFFICE Cloud

ONLYOFFICE Workspace

ONLYOFFICE Workspace Enterprise

ONLYOFFICE Docs Enterprise

ONLYOFFICE Docs Developer

ONLYOFFICE Desktop Editors

For support requests

support.onlyoffice.com

Compatible products

ONLYOFFICE Personal

ONLYOFFICE Cloud

ONLYOFFICE Workspace

ONLYOFFICE Workspace Enterprise

ONLYOFFICE Docs Enterprise

ONLYOFFICE Docs Developer

ONLYOFFICE Desktop Editors

For support requests

support.onlyoffice.com

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

free
5 3  votes

Compatible products

ONLYOFFICE Personal

ONLYOFFICE Cloud

ONLYOFFICE Workspace

ONLYOFFICE Workspace Enterprise

ONLYOFFICE Docs Enterprise

ONLYOFFICE Docs Developer

ONLYOFFICE 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 Workspace Enterprise, ONLYOFFICE Workspace (Document Server + Community Server), ONLYOFFICE Docs Enterprise, ONLYOFFICE Cloud, 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.