docs(v2): use explicit heading IDs (#4460)

This commit is contained in:
Alexey Pyltsyn 2021-03-19 13:00:41 +03:00 committed by GitHub
parent 962c3748ea
commit 291a72fbae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
162 changed files with 1435 additions and 1435 deletions

View file

@ -20,7 +20,7 @@ Let's imagine the following file structure:
/website/docs/assets/docusaurus-asset-example-pdf.pdf
```
## Images
## Images {#images}
You can use images in Markdown, or by requiring them and using a JSX image tag:
@ -57,7 +57,7 @@ If you are using [@docusaurus/plugin-ideal-image](../../using-plugins.md#docusau
:::
## Files
## Files {#files}
In the same way, you can link to existing assets by requiring them and using the returned url in videos, links etc.
@ -83,7 +83,7 @@ or
[Download this PDF using Markdown](../../assets/docusaurus-asset-example-pdf.pdf)
## Inline SVGs
## Inline SVGs {#inline-svgs}
Docusaurus supports inlining SVGs out of the box.
@ -117,7 +117,7 @@ html[data-theme='dark'] .themedDocusaurus [fill='#FFFF50'] {
<DocusaurusSvg className="themedDocusaurus" />
## Themed Images
## Themed Images {#themed-images}
Docusaurus supports themed images: the `ThemedImage` component (included in the classic/bootstrap themes) allows you to switch the image source based on the current theme.