Command Reference — Edit category — Code Block command

# Code Block command

## Summary

Sets the current line as a code block.

## Description

Sets the current line as a code block.

## How to Run

- Default Menu: Edit > Markdown/HTML > Code Block

- All Commands: Edit > Markdown/HTML > Code Block

- Toolbar: None

- Status Bar: None

- Default Keyboard Shortcut: None

## Plug-in Command ID

    EEID_MARKDOWN_CODEBLOCK (23264)

## Macros

### [JavaScript]

    editor.ExecuteCommandByID(23264);

### [VBScript]

    editor.ExecuteCommandByID 23264