vitamin2/html-field

This is a nicely colored HTML/CSS/JS Field for Kirby V3

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Type:kirby-plugin

1.0 2020-10-22 12:13 UTC

This package is auto-updated.

Last update: 2024-04-22 20:51:28 UTC


README

A nicely colored HTML/CSS/JS Field for Kirby V3

screenshot

Usage

As any Kirby field:

fields:
  coder:
    label: SOME CODE
    type: html

You can deactivate the line numbers in the field

        lineNumbers: false

Installation

To install the plugin, please put it in the site/plugins directory.
The field folder must be named html-field.

Development

Follow step in the Kirby Docs. https://getkirby.com/docs/guide/plugins/plugin-setup-panel

  1. npm install -g parcel-bundler
  2. yarn global add parcel-bundler
  3. npm run dev
  4. npm run build

License

MIT

Please visit our website if you like this Plugin Vitamin2 AG

Credits

Vue Prism Code Editor