DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:codify

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

  • 2023-04-23
    • Add settings to Configuration Manager
  • 2023-03-31
    • Fix empty first line
  • 2023-03-21
    • Initial release

Discussion

To report a bug, please use the issue tracker.

plugin/codify.txt · Last modified: 2023-04-23 07:59 by 105.112.224.216

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki