Fork me on GitHub

SARL Syntax highlighting with other tools

Syntax highlighting is a feature of text editors that are used for programming, scripting, or markup languages, such as SARL. The feature displays text, especially source code, in different colors and fonts according to the category of terms. This feature facilitates writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. Highlighting does not affect the meaning of the text itself; it is intended only for human readers.

Several style specifications are provided for syntax highlighting in other tools than the SARL product.

1. Atom Editor

Atom Editor is is a highly configurable text editor. This editor uses the TextMate language syntax.

The SARL style is available on GitHub

2. GNU source-highlight

GNU source-highlight is the GNU source code highlightner.

The SARL style is available on GitHub

For installing the SARL style, you should:

3. Google Code Prettify

Google Code Prettify is a Javascript library that enables syntax highlightning for several different languages on Internet pages.

The SARL style is available on GitHub

For using the SARL style, you should:

4. Gtk Source View

Gtk Source View is the core library that is used by the Gnome tools, including Gedit, for doing syntax highlightning.

The SARL style is available on GitHub

For using the SARL style, you should:

5. LaTeX

LaTeX is a powerfull wordprocessor that is able to create documents such as books, presentations…

5.1. Standard LaTeX Style

LaTeX may uses different extensions (packages) for rnedering algorithms and source code. The SARL styles for LaTeX are based on the LaTeX listings package.

Two versions of the SARL style for LaTeX are available:

For using the SARL styles, you should:

5.2. LaTeX Beamer

The LaTeX Beamer can be used for pro­duc­ing slides. The SARL style for LaTeX Beamer is based on the LaTeX listings package and one the predefined color templates from Beamer.

The SARL style is available on GitHub

For using the SARL style, you should:

6. Pygments

Pygments is a Python generic syntax highlighter suitable for use in code hosting, forums, wikis or other applications that need to prettify source code.

The SARL style is available on GitHub

For installing the SARL style, you should:

7. Sublime Text Editor

Sublime Text Editor is a sophisticated text editor for code and markup. This editor uses the TextMate language syntax.

The SARL style is available on GitHub

For using the SARL style, you should:

8. TextMate Editor

TextMate Editor is a sophisticated text editor for MacOS platforms.

The SARL style is available on GitHub

9. Vim Editor

Vim Editor is is a highly configurable text editor built to make creating and changing any kind of text very efficient.

The SARL style is available on GitHub

For using the SARL style, you should:

Copyright © 2014-2024 SARL.io, the Original Authors and Main Authors.

Documentation text and medias are licensed under the Creative Common CC-BY-SA-4.0; you may not use this file except in compliance with CC-BY-SA-4.0. You may obtain a copy of CC-BY-4.0.

Examples of SARL code are licensed under the Apache License, Version 2.0; you may not use this file except in compliance with the Apache License. You may obtain a copy of the Apache License.

You are free to reproduce the content of this page on copyleft websites such as Wikipedia.

Generated with the translator docs.generator 0.14.0.