Alternatively, use ./ to begin a path relative to the src of the documents, e.g., ./assets/logo.png.
However, this is not actually a feature.
./assets/logo.png and assets/logo.png both work in this file because it's within docs/src/
But if you try ./ in a subdirectory's markdown file, such as docs/src/man/doctests.md
![Enter a descriptive caption for the image](./assets/logo.png)
You get this error:
┌ Error: invalid local link/image: file does not exist in src\man\doctests.md
│ link =
│ @ast MarkdownAST.Image("./assets/logo.png", "") do
│ MarkdownAST.Text("Enter a descriptive caption for the image")
│ end
The Showcase Images section states:
However, this is not actually a feature.
./assets/logo.png
andassets/logo.png
both work in this file because it's withindocs/src/
But if you try
./
in a subdirectory's markdown file, such asdocs/src/man/doctests.md
You get this error: