Skip to content

Commit

Permalink
Fix a couple typos
Browse files Browse the repository at this point in the history
Reviewed-by: Remco Haszing <[email protected]>
Reviewed-by: Christian Murphy <[email protected]>
Reviewed-by: Titus Wormer <[email protected]>

Closes GH-2266.
  • Loading branch information
deining authored Mar 6, 2023
1 parent d8a62d2 commit 4129f90
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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

1 comment on commit 4129f90

@vercel
Copy link

@vercel vercel bot commented on 4129f90 Mar 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mdx – ./

mdx-git-main-mdx.vercel.app
mdx-mdx.vercel.app
v2.mdxjs.com
mdxjs.com

Please sign in to comment.