Skip to content

Commit

Permalink
Streamline examples
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 24, 2024
1 parent 47c85eb commit 6a0df7b
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions docs/digging-deeper/advanced-markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,21 +164,14 @@ For all the supported syntax options, Hyde will resolve a relative link based on

Since this happens in our Markdown processor, this will work regardless of if you have custom HTML or Blade enabled for your site.

#### Resolving a route

```markdown
<!-- Resolving a route -->
[Home](hyde::route('home'))
```

#### Resolving a relative link

```markdown
<!-- Resolving a relative link -->
[Home](hyde::relativeLink('home'))
```

#### Resolving a media asset

```markdown
<!-- Resolving a media asset -->
![Image](hyde::media('image.jpg'))
```

Expand Down

0 comments on commit 6a0df7b

Please sign in to comment.