name: Markdown Underline
version: 1.0.0
description: |
  Override the HTML tags generated by inline `*`, `**`, `_` and `__`.
  The plugin defaults `__` to `u` for example to yield underlined text.
icon: underline
author:
  name: Antoine Goutenoir
  email: antoine@goutenoir.com
homepage: https://github.com/Goutte/grav-plugin-markdown-underline
demo: https://courses.m3p2.ljbac.com
keywords: grav, plugin, markdown, underline, override, inline, block
bugs: https://github.com/Goutte/grav-plugin-markdown-underline/issues
docs: https://github.com/Goutte/grav-plugin-markdown-underline/blob/develop/README.md
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
    "*":
      type: text
      label: PLUGINS.MARKDOWN_UNDERLINE.*
      default: 'em'
      validate:
        type: text
    "**":
      type: text
      label: PLUGINS.MARKDOWN_UNDERLINE.**
      default: 'strong'
      validate:
        type: text
    "_":
      type: text
      label: PLUGINS.MARKDOWN_UNDERLINE._
      default: 'em'
      validate:
        type: text
    "__":
      type: text
      label: PLUGINS.MARKDOWN_UNDERLINE.__
      default: 'u'
      validate:
        type: text
