Skip to content

Commit

Permalink
docs: fix multiple typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed Jun 4, 2022
1 parent 90d2de6 commit d154b83
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
2 changes: 1 addition & 1 deletion website/docs/api/plugin-methods/lifecycle-apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion website/docs/api/themes/theme-search-algolia.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
26 changes: 22 additions & 4 deletions website/docs/guides/markdown-features/markdown-features-react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d154b83

Please sign in to comment.