fix(mdx-loader): allow image paths to be URL encoded (#6792)

This commit is contained in:
Joshua Chen 2022-03-02 19:14:53 +08:00 committed by GitHub
parent 1ac41132e3
commit 8a24d56783
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 18 additions and 2 deletions

View file

@ -10,6 +10,8 @@ import docusaurusImport from '@site/static/img/docusaurus.png';
export const docusaurusRequire = require('@site/static/img/docusaurus.png');
![URL encoded image](./img/oss_logo%20%282%29.png)
## Regular images
<img src={docusaurusImport} />

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB