{
  "description": "For each code block in the stream with an info string attempt to convert the code to a highlighted version using source-highlight(1). If source-highlight(1) returns an exit status other than zero the code block is passed through untouched.\n\nIf the --src option is given all code blocks are converted using the source language specified (info strings are ignored) otherwise the source language is inferred from the code block info string.\n\nWhen the --src option is given it is not required that a code block have an info string, all code blocks will be highlighted using the source language given.\n\nThe default output format is html which generates HTML suitable for a standalone page (no stylesheet required) otherwise you can use the html-css output format and supply a stylesheet for the highlighted markup.\n\nWhen the output is html or html-css the HTML comment generated by source-highlight(1) is removed.\n\nIf you want the output to include a <code> element within the <pre> use the --preserve option in this instance the code element is given a class name including the info string language:\n\nTo see the source languages available to the --src option:\n\nFor output formats available to the --out option run:",
  "names": [
    "mkhigh"
  ],
  "type": "program",
  "name": "mkhigh",
  "summary": "highlight code blocks",
  "synopsis": [
    "[flags] [options]"
  ],
  "options": {
    "out": {
      "key": "out",
      "description": "Set output format",
      "names": [
        "-o",
        "--out"
      ],
      "type": "option",
      "extra": "=[VAL]",
      "required": false,
      "multiple": false,
      "value": "html",
      "name": "--out"
    },
    "src": {
      "key": "src",
      "description": "Source language (overrides info string)",
      "names": [
        "-s",
        "--src"
      ],
      "type": "option",
      "extra": "=[LANG]",
      "required": false,
      "multiple": false,
      "name": "--src"
    },
    "alias[NAME]": {
      "key": "alias[NAME]",
      "description": "Alias info strings to source languages",
      "names": [
        "--alias-[NAME]"
      ],
      "type": "option",
      "extra": "=[VAL...]",
      "required": false,
      "multiple": true,
      "name": "--alias-[NAME]"
    },
    "lines": {
      "key": "lines",
      "description": "Number lines in output",
      "names": [
        "-l",
        "--lines"
      ],
      "type": "flag",
      "name": "--lines"
    },
    "preserve": {
      "key": "preserve",
      "description": "Keep code elements",
      "names": [
        "-p",
        "--preserve"
      ],
      "type": "flag",
      "name": "--preserve"
    },
    "help": {
      "key": "help",
      "description": "Display help and exit",
      "names": [
        "-h",
        "--help"
      ],
      "type": "flag",
      "name": "--help"
    },
    "version": {
      "key": "version",
      "description": "Print the version and exit",
      "names": [
        "--version"
      ],
      "type": "flag",
      "name": "--version"
    }
  }
}
