Skip to content

Commit

Permalink
Format Markdown files with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Dec 10, 2023
1 parent 1c4a050 commit be3a8a5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ md.use(require('markdown-it-govuk'))

For example:

```js
````js
md.render('```js\nconsole.log(\'Hello, World!\')\n```')
```
````

Will output:

Expand All @@ -69,10 +69,10 @@ To provide styling for inline and block code, add the following to your Sass fil

## Options

| Name | Type | Description |
| - | - | - |
| `headingsStartWith` | `string` | Heading size to use for the top-level heading (`xl` or `l`). Default is `l`. |
| `calvert` | `boolean \| Array` | Typographic improvements to enable (in addition to those provided by markdown-it’s `typographer` option). Set this option to `true` to enable all improvements, or array containing individual improvement sets to include (choose from `fractions`, `guillemets` and `mathematical`). Default is `false`. |
| Name | Type | Description |
| ------------------- | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `headingsStartWith` | `string` | Heading size to use for the top-level heading (`xl` or `l`). Default is `l`. |
| `calvert` | `boolean \| Array` | Typographic improvements to enable (in addition to those provided by markdown-it’s `typographer` option). Set this option to `true` to enable all improvements, or array containing individual improvement sets to include (choose from `fractions`, `guillemets` and `mathematical`). Default is `false`. |

### Heading sizes

Expand Down

0 comments on commit be3a8a5

Please sign in to comment.