Skip to content

Commit

Permalink
docs: Example added for include(dotnet#8609)
Browse files Browse the repository at this point in the history
  • Loading branch information
VaclavElias authored and p-kostov committed Jun 28, 2024
1 parent d74b641 commit 462ac81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/docs/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,11 @@ Or reuse an entire Markdown file as a block, nested within a section of an artic

Where `<title>` is the name of the file and `<filepath>` is the relative path to the file.

Example:
```markdown
[!INCLUDE [my-markdown-block](../../includes/my-markdown-block.md)]
```

Included markdown files needs to be excluded from build, they are usually placed in the `/includes` folder.

## Code Snippet
Expand Down

0 comments on commit 462ac81

Please sign in to comment.