Warning: Undefined array key 1 in /www/webvol18/ib/e33uwimxd7xln4y/dev.buto.se/sys/mercury/lib/wfPlugin.class.php on line 170

Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /www/webvol18/ib/e33uwimxd7xln4y/dev.buto.se/sys/mercury/lib/wfPlugin.class.php on line 170

Warning: Undefined array key 1 in /www/webvol18/ib/e33uwimxd7xln4y/dev.buto.se/sys/mercury/lib/wfPlugin.class.php on line 170

Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /www/webvol18/ib/e33uwimxd7xln4y/dev.buto.se/sys/mercury/lib/wfPlugin.class.php on line 170
Plugin - Buto - Plugin - Buto -

PluginPrismPrismjs

Add code highlightning from Prismjs.com by including CSS and Javascript.

Visit prismjs.com for more info.

widget_include

  Widget setup
  
type: widget
data:
  plugin: prism/prismjs
  method: include

Including CSS and Javascript in html/head section.

YML
-
  type: widget
  data:
    plugin: 'prism/prismjs'
    method: include

An element should be created like this. Use language-yaml, language-javascript or language-php.

YML
-
  type: pre
  innerHTML:
    -
      type: code
      attribute:
        class: 'language-yaml'
      innerHTML: |
        test: 3323
        test2:
          - sfdsf
          - 3233

If included in ajax run this javascript.

Javascript
Prism.highlightAll();

page_testprism

Dependencies

This plugin has no dependencies.

Usage

This plugin are not in use of other plugins.

Plugins

Browse and download the plugins you need for your theme.

Plugins

Request a plugin

If you need a plugin to your website, one could make a request to a developer.

Plugin request

Learn about plugin

Learn how to use or create a plugin.

Plugin knowledge