Skip to content

Commit

Permalink
Streamline examples
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Feb 25, 2024
1 parent 19047c2 commit b86a1c3
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 @@ -167,21 +167,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 b86a1c3

Please sign in to comment.