# marks/bold

> Bold — `<strong>`, ⌘B, `**text**`. Pasted HTML counts font-weight too (Google Docs wraps everything in `<b style="font-weight:normal">`).

Bold (F-10) — `<strong>`, ⌘B, `**text**`. Pasted HTML counts font-weight too (Google Docs wraps everything in `<b style="font-weight:normal">`).

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

| JS gzip | CSS gzip |
| --- | --- |
| 0.24 KB | — |

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

## Contract

|  |  |
| --- | --- |
| Mark type | `bold` |
| HTML | `<strong>` `<b>` |
| Shortcut | `⌘B` |
| Markdown | `**` |
| Typing rule | `\*\*([^*\n]+)\*\*$` |
| Grows while typing | yes |

## Acceptance

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