Skip to content

Conversation

@jescalan
Copy link
Contributor

@jescalan jescalan commented Nov 28, 2018

This makes the code uglier, unfortunately, but the example provided here in the docs is incorrect (I found this out the hard way).

Since all the code here is indented by 4 spaces, it is treated by the markdown parser as a code block, and you end up seeing the exports in the file inside of a formatted code block. Eliminating the extra indentation fixes this.

This makes the code uglier, unfortunately, but the example provided here is incorrect. Since all the code is indented by 4 spaces, it is treated by the markdown parser as a code block, and you end up seeing the exports in the file inside of a formatted code block. Eliminating the extra indentation fixes this.
@vercel
Copy link

vercel bot commented Nov 28, 2018

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

@johno
Copy link
Member

johno commented Nov 29, 2018

Whoops 😬. Thank you!

@johno johno merged commit 0c4c790 into mdx-js:master Nov 29, 2018
@jescalan jescalan deleted the patch-1 branch November 29, 2018 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants