permanent
clone your own copy | download snapshot

Snapshots | iceberg

Inside this repository

blueprints.yaml
text/plain

Download raw (1.3 KB)

name: 'Markdown Notices'
version: 1.0.4
description: 'Adds the ability to render notices blocks in Markdown'
icon: asterisk
author:
  name: Team Grav
  email: devs@getgrav.org
  url: http://getgrav.org
homepage: https://github.com/getgrav/grav-plugin-markdown-notices
license: MIT

form:
  validation: strict
  fields:
    enabled:
      type: toggle
      label: PLUGIN_ADMIN.PLUGIN_STATUS
      highlight: 1
      default: 0
      options:
        1: PLUGIN_ADMIN.ENABLED
        0: PLUGIN_ADMIN.DISABLED
      validate:
        type: bool

    built_in_css:
      type: toggle
      label: PLUGIN_MARKDOWN_NOTICES.USE_BUILT_IN_CSS
      highlight: 1
      default: 1
      options:
        1: PLUGIN_ADMIN.ENABLED
        0: PLUGIN_ADMIN.DISABLED
      validate:
        type: bool

    base_classes:
      type: selectize
      label: PLUGIN_MARKDOWN_NOTICES.BASE_CLASSES
      size: large
      placeholder: PLUGIN_MARKDOWN_NOTICES.BASE_CLASSES_PLACEHOLDER
      help: PLUGIN_MARKDOWN_NOTICES.BASE_CLASSES_HELP
      classes: fancy
      validate:
        type: string

    level_classes:
      type: selectize
      label: PLUGIN_MARKDOWN_NOTICES.LEVEL_CLASSES
      size: large
      placeholder: PLUGIN_MARKDOWN_NOTICES.LEVEL_CLASSES_PLACEHOLDER
      help: PLUGIN_MARKDOWN_NOTICES.LEVEL_CLASSES_HELP
      classes: fancy
      validate:
        type: commalist