---
title: Keyboard Macro
pubDate: 2026-08-17T09:53:44.266Z
antora:
  editUrl: https://github.com/couchbaselabs/docs-style-guide/edit/main/styleguide/modules/ROOT/pages/keyboard-macro.adoc
  xref: xref:styleguide::keyboard-macro.adoc[]
---

[Consult the llms.txt file for a full list of contents](/llms.txt)
[View original HTML](/styleguide/keyboard-macro.html)

# Keyboard Macro

Use the Antora `kbd:[]` Macro for any keyboard interactions in your documentation. The key press can be inside the step for a procedure, but the text does not need to be in a procedure to use the macro.

For example, `kbd:[ESC]` renders an Escape key (ESC).

For more information about how to use the Keyboard Macro to format your documentation, see [Button, Keyboard, and Menu UI Macros](../home/contribute/basics.md#ui-macros) in the Contributing to the Documentation guide.