Skip to content

Commit

Permalink
dogfood
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Oct 20, 2021
1 parent a7faecb commit 111154f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ import useBaseUrl from '@docusaurus/useBaseUrl';

<img src={useBaseUrl('/img/docusaurus.png')} />

<img src={require('../static/img/docusaurus.png')} />
<img src={require('../static/img/docusaurus.png').default} />

<img src={require('@site/src/static/img/docusaurus.png')} />
<img src={require('@site/static/img/docusaurus.png').default} />
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: Blog post MDX require Feed tests
authors:
- slorber
tags: [blog, docusaurus, long-long, long-long-long, long-long-long-long]
---

Some MDX tests, mostly to test how the RSS feed render those

<!-- truncate -->

Test MDX with require calls

import useBaseUrl from '@docusaurus/useBaseUrl';

<img src={useBaseUrl('/img/docusaurus.png')} />

<img src={require('../../static/img/docusaurus.png').default} />

<img src={require('@site/static/img/docusaurus.png').default} />

0 comments on commit 111154f

Please sign in to comment.