Slide kit command

ink.highlighter

Highlighter

Selects the highlighter ink tool in the editor; answers the tool state.

Kit
Slide 0.1.0 (.kslide and .pptx)
Changes the document
no

Parameters

Parameters of ink.highlighter
NameTypeRequiredDescription
colorstringnoa colour such as #rrggbb
widthnumber (≥ 0.25, ≤ 72)nopoints

Call through slide_run

text
slide_run {
  "path": "<file>.pptx",
  "steps": [{ "command": "ink.highlighter" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: color, width. slide_run answers the step’s result in completed[i].result.

Result

Result of ink.highlighter
NameTypeRequiredDescription
colorstringno
toolstringno
widthnumberno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "color": {
      "type": "string"
    },
    "tool": {
      "type": "string"
    },
    "width": {
      "type": "number"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "color": {
      "description": "a colour such as #rrggbb",
      "type": "string"
    },
    "width": {
      "description": "points",
      "maximum": 72,
      "minimum": 0.25,
      "type": "number"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (slide_commands through @kition/[email protected], built from KitionAI/kition-slide@7ef3d11). As data: commands.jsonl.