Skip to content

Fix a couple typos #2266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/getting-started.server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ Install the webpack loader [`@mdx-js/loader`][mdx-loader].

For importing MDX without the `!@mdx-js/loader!` prefix, you can add
the loader to the webpack config, by rewiring `react-scripts` using
[CRACO](http://github.com/gsoft-inc/craco).
[CRACO](https://github.com/gsoft-inc/craco).

See also [¶ Webpack][webpack], which is used in CRA, and see [¶ React][react],
which you’re likely using, for more info.
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/syntax-highlighting.server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ console.log(1)
```
````

The `meta` part is everything after the language (in thise case, `js`).
The `meta` part is everything after the language (in this case, `js`).
This is a *hidden* part of markdown: it’s normally ignored.
But as the above example shows, it’s a useful place to put some extra fields.

Expand Down
4 changes: 2 additions & 2 deletions packages/mdx/lib/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const AsyncFunction = Object.getPrototypeOf(run).constructor
* @param {unknown} options
* Parameter.
* @return {Promise<any>}
* Anthing.
* Anything.
*/
export async function run(file, options) {
return new AsyncFunction(String(file))(options)
Expand All @@ -23,7 +23,7 @@ export async function run(file, options) {
* @param {unknown} options
* Parameter.
* @return {any}
* Anthing.
* Anything.
*/
export function runSync(file, options) {
// eslint-disable-next-line no-new-func
Expand Down