WP Manifestindependent plugin directory
manifest / editor / rrze-typesettings

RRZE Typesettings

WordPress-Plugin: Shortcode und Gutenberg Block, für das Highlightening von Code

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/rrze-webteam/rrze-typesettings/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Plugin to display code highlighting.

RRZE-Typesettings

WordPress-Plugin: Shortcode und Gutenberg Block, für das Highlightening von Code

Verwendung als Block

Wählen Sie dazu den Block "Code Highlighter RRZE" aus.

Verwendung als Shortcode

[highlight-code]
...
[/highlight-code]

[highlight-code lang="php"]
...
[/highlight-code]

[highlight-code lang="python" theme="dark"]
...
[/highlight-code]

[highlight-code lang="sql" linenumbers="false"]
...
[/highlight-code]

[highlight-code copy="false"]
...
[/highlight-code]

Alle Attribute des Shortcodes

[highlight-code 
lang=".."
theme=".."
linenumbers=".."
copy=".."
]

Alle Attribute sind optional.

Default

Zeilennummern werden angezeigt. Javascript ist vorausgewählt. Button "Copy to clipboard" wird angezeigt.

Unterstützte Sprachen:

Sprache => Wert für "lang":

C => c,
C++ => cpp,
C# => csharp,
CSS => css,
HTML => markup,
Java => java,
JavaScript => javascript,
JSON => json,
Perl => perl,
PHP => php,
Python => python,
React => jsx,
Regex => regex,
SASS => sass,
SQL => sql,
XML => markup

Unterstützte Themes:

default
light
dark
okaidia