mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-30 23:08:54 +02:00
docs: fix multiple typos (#7561)
This commit is contained in:
parent
90d2de6baf
commit
6d481f6a29
3 changed files with 24 additions and 6 deletions
|
@ -178,7 +178,7 @@ The API of `configureWebpack` will be modified in the future to accept an object
|
|||
- `getStyleLoaders(isServer: boolean, cssOptions: {[key: string]: any}): Loader[]`
|
||||
- `getJSLoader(isServer: boolean, cacheOptions?: {}): Loader | null`
|
||||
|
||||
You may use them to return your webpack configures conditionally.
|
||||
You may use them to return your webpack configuration conditionally.
|
||||
|
||||
For example, this plugin below modify the webpack config to transpile `.foo` files.
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ This theme provides a `@theme/SearchBar` component that integrates with Algolia
|
|||
npm install --save @docusaurus/theme-search-algolia
|
||||
```
|
||||
|
||||
This theme also adds search page available at `/search` (as swizzlable `SearchPage` component) path with OpenSearch support. You can this default path via `themeConfig.algolia.searchPagePath`. Use `false` to disable search page.
|
||||
This theme also adds search page available at `/search` (as swizzlable `SearchPage` component) path with OpenSearch support. You can change this default path via `themeConfig.algolia.searchPagePath`. Use `false` to disable search page.
|
||||
|
||||
:::tip
|
||||
|
||||
|
|
|
@ -312,8 +312,11 @@ Use JSX within JSX tag, or move the Markdown to the outer layer:
|
|||
<div className={styles.wrappingBlock}>
|
||||
```
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```jsx
|
||||
<div style={{color: 'red'}}>**Bold still doesn't work**</div>
|
||||
<div style={{color: 'red'}}>
|
||||
**Bold still doesn't work**
|
||||
</div>
|
||||
```
|
||||
|
||||
```mdx-code-block
|
||||
|
@ -335,8 +338,13 @@ Add an empty new line:
|
|||
<div className={styles.wrappingBlock}>
|
||||
```
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```jsx
|
||||
<div style={{color: 'red'}}>**Bold now works**</div>
|
||||
<div style={{color: 'red'}}>
|
||||
|
||||
**Bold now works**
|
||||
|
||||
</div>
|
||||
```
|
||||
|
||||
```mdx-code-block
|
||||
|
@ -360,8 +368,13 @@ Add an empty new line:
|
|||
<div className={styles.wrappingBlock}>
|
||||
```
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```jsx
|
||||
<div style={{color: 'red'}}>You may think I'm just some text...</div>
|
||||
<div style={{color: 'red'}}>
|
||||
|
||||
You may think I'm just some text...
|
||||
|
||||
</div>
|
||||
```
|
||||
|
||||
```mdx-code-block
|
||||
|
@ -385,8 +398,13 @@ Don't indent:
|
|||
<div className={styles.wrappingBlock}>
|
||||
```
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```jsx
|
||||
<div style={{color: 'red'}}>Now I'm actually just text</div>
|
||||
<div style={{color: 'red'}}>
|
||||
|
||||
Now I'm actually just text
|
||||
|
||||
</div>
|
||||
```
|
||||
|
||||
```mdx-code-block
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue