# marks/code

> Inline code — `<code>`, ⌘E, ``text``. Typing at its end continues as plain text.

Inline code (F-10) — `<code>`, ⌘E, ``text``. Typing at its end continues as plain text.

```js
import code from 'verbal-editor/marks/code';
```

| JS gzip | CSS gzip |
| --- | --- |
| 0.17 KB | — |

See it live on [Writing](#/examples/welcome) — every example page on the landing is editable.

## Contract

|  |  |
| --- | --- |
| Mark type | `code` |
| HTML | `<code>` |
| Shortcut | `⌘E` |
| Markdown | \` |
| Typing rule | \`(\[^\`\\n\]+)\`$ |
| Grows while typing | no |

## Acceptance

| Feature | Acceptance | Budget |
| --- | --- | --- |
| F-10 · Bold / Italic / Strike / Inline code | Identical resulting DOM in Chromium, Firefox, WebKit | ≤ 1KB each |
