# Code

> Editor42 Code plugin: opens a dialog with the raw HTML source of the editor content, where users can read the markup and edit it directly.

Source: https://editor42.com/plugins/code  
Every page of editor42.com has a Markdown copy at its URL + `.md` (`index.md` after a URL that ends in `/`); all of them are in one file: https://editor42.com/llms-full.txt

Plugin alias: `code`

```js
editor42.init({
  plugins: 'code'
});
```

Opens a dialog showing the raw HTML source code of the editor content, allowing direct editing. A simple built-in source code view.

## Commands

| Command | Description |
|---|---|
| `editor42CodeEditor` | Opens the source code editing dialog. |

## Toolbar buttons

| Name | Type | Description |
|---|---|---|
| `code` | Button | Source code. |

## Menu items

| Name | Description |
|---|---|
| `code` | Source code. |
