Skip to content

Commit

Permalink
fix: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier committed Aug 29, 2024
1 parent 5b629aa commit 0a6670a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/getting-started/authoring.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,19 @@ It is also possible to specify only one dimension (other is inferred from instri

</details>

Although it is probably better to use CSS for this:

```md
<img src="gutenberg.jpg" style={{width: 'auto', height: '10rem'}} />
```

<details>
<summary>Result</summary>

<img src="gutenberg.jpg" style={{width: 'auto', height: '10rem'}} />

</details>

> [!NOTE]
> See [`MDX_BASEURL`](introduction#configuration:~:text=MDX_BASEURL) to understand how it is converted to a full URL.
Expand Down

0 comments on commit 0a6670a

Please sign in to comment.