{
  "$schema": "https://beta.frontmatter.codes/frontmatter.schema.json",
  "frontMatter.content.snippets": {
    "platen-details": {
      "body": [
        "```details",
        "---",
        "summary:       [[&summary]]",
        "class:         [[class]]",
        "disabled:      [[disabled]]",
        "heading_level: [[level]]",
        "icon_collapse: '[[iconCollapse]]'",
        "icon_expand:   '[[iconExpand]]'",
        "id:            [[id]]",
        "legacy:        [[legacy]]",
        "linkable:      [[linkable]]",
        "open:          [[open]]",
        "---",
        "",
        "[[&selection]]",
        "```"
      ],
      "description": "Insert a collapsible panel of Markdown content with a title.\nFor more information, see https://localhost:1313/modules/platen/markup/details",
      "fields": [
        {
          "default": "",
          "name": "summary",
          "single": true,
          "title": "Summary Markdown",
          "type": "string"
        },
        {
          "default": "FM_SELECTED_TEXT",
          "name": "selection",
          "title": "Content Markdown",
          "type": "string"
        },
        {
          "default": "",
          "name": "class",
          "single": true,
          "title": "Zero or more classes to add to the details element as a space-separated list.",
          "type": "string"
        },
        {
          "choices": [
            "true",
            "false"
          ],
          "default": "false",
          "name": "disabled",
          "title": "Whether the details should have the toggle for expanding and collapsing disabled.",
          "type": "choice"
        },
        {
          "default": "0",
          "name": "level",
          "title": "The heading level to insert for the summary of the details element. This turns the details element into a collapsible section if the value is 1 through 6. The default (no heading) is 0.",
          "type": "number"
        },
        {
          "default": "",
          "name": "iconCollapse",
          "single": true,
          "title": "The name of the icon to use to indicate an expanded details block can be collapsed. If this value is set, the expand icon needs to be set too.",
          "type": "string"
        },
        {
          "default": "",
          "name": "iconExpand",
          "single": true,
          "title": "The name of the icon to use to indicate a collapsed details block can be expanded. If this value is set, the collapse icon needs to be set too.",
          "type": "string"
        },
        {
          "default": "",
          "name": "id",
          "single": true,
          "title": "The custom ID to give the details element.",
          "type": "string"
        },
        {
          "choices": [
            "true",
            "false"
          ],
          "default": "false",
          "name": "legacy",
          "title": "Whether the details should be rendered with the legacy template.",
          "type": "choice"
        },
        {
          "choices": [
            "true",
            "false"
          ],
          "default": "true",
          "name": "linkable",
          "title": "Whether the details should have be linkable by ID.",
          "type": "choice"
        },
        {
          "choices": [
            "true",
            "false"
          ],
          "default": "true",
          "name": "open",
          "title": "Whether the details should be open when the page loads.",
          "type": "choice"
        }
      ],
      "title": "Details"
    }
  }
}