Table of Contents

Codify Plugin

Compatible with DokuWiki

Anteater+

plugin Provides awesome code highlighting using PrismJS in DokuWiki pages

Last updated on
2023-04-23
Provides
Syntax, Action
Repository
Source

Similar to codeprism

Tagged with code, prismjs, syntaxhighlight

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Examples/Usage

See the plugin in action here. The sample page shows all the styles available with the plugin.

Syntax

<codify typescript>
import { NgModule } from '@angular/core';
import { NGSuiteModule } from '@ngsuite/ngsuite';
 
 
@NgModule({
  ...
  imports: [
    ...
    NGSuiteModule.forRoot()
  ],
  ...
})
export class AppModule { }
<codify>

Only contents inside <codify> are highlighted. You can optionally pass the language as an attribute like this, <codify typescript>. The language is auto-detected if no language is specified. See languages supported by PrismJS.

Theme Settings

To change the theme for Codify, visit the Configuration Manager and head to the Codify section. There you can choose from the available themes.

Change Log

Discussion

To report a bug, please use the issue tracker.