Skip to content

Commit

Permalink
docs: guidance on using local images
Browse files Browse the repository at this point in the history
  • Loading branch information
remiconnesson committed Oct 18, 2022
1 parent 2a92bab commit 262cca7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/content/3.guide/1.writing/8.images.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Images

You can add images to your `public` directory:

```
my-project/
content/
index.md
public/
img/
image.png
nuxt.config.ts
package.json
tsconfig.json
```

And then use them in your markdown files in the `content` directory as such:

```md[content/index.md]
![my image](/img/image.png)
```

0 comments on commit 262cca7

Please sign in to comment.