You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,3 +7,30 @@ Build first-class code walkthroughs for the web. Whether you are writing blog po
7
7
8
8
There are no docs yet, but you can [explore the demos](https://codehike.org/#demos) for an overview of all the features and how to use them.
9
9
10
+
## How to set up Code Hike
11
+
12
+
1. First you need MDX v2 (or [xdm](https://github.com/wooorm/xdm/)). See [MDX v2 docs](https://mdxjs.com/docs/getting-started/) on how to set it up.
13
+
2. Install Code Hike remark plugin with `yarn add @code-hike/mdx@next`
14
+
3. Add the remark plugin to the MDX loader options. This depends on the bundler or site generator you are using. It usually looks something like this:
0 commit comments