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

@ -6,13 +6,13 @@ slug: '/api/plugins/@docusaurus/plugin-ideal-image'
Docusaurus Plugin to generate an almost ideal image (responsive, lazy-loading, and low quality placeholder) **in the production builds**.
## Installation
## Installation {#installation}
```bash npm2yarn
npm install --save @docusaurus/plugin-ideal-image
```
## Configuration
## Configuration {#configuration}
Modify your `docusaurus.config.js`
@ -24,7 +24,7 @@ module.exports = {
}
```
## Usage
## Usage {#usage}
This plugin supports the PNG, GIF and JPG formats only.
@ -39,7 +39,7 @@ import thumbnail from './path/to/img.png';
<Image img={require('./path/to/img.png')} />
```
## Options
## Options {#options}
| Option | Type | Default | Description |
| --- | --- | --- | --- |