Build rich content websites with Markdown and React
content.md
## !intro Roman Emperors
The Roman Empire was ...## !!emperors Augustus
The founder of the ...
![!img cover](/one.png)
```js !
console.log(1)
```## !!emperors Nero
Tyrannical ruler ...
![!img cover](/nero.png)
```js !
```
page.jsx
import Content from "./content.md"import { parse } from "codehike"// extract structured content:const = parse(Content)export function Page() {return (<div>{/* render it as you want: */}<Header {...content.intro} /><Main steps={content.emperors} /></div>)}
Roman Emperors
The Roman Empire was led ...
Augustus
The first emperor, established the empire in 27 BC
Nero
Tyrannical ruler, known for his cruelty and extravagance
Trajan
Renowned for his military conquests and public works
export Pagere di rediv > >< Hero rere divdiv
Top Sponsors
Backed byGitHub AcceleratorFine-grained Markdown
Add structure to your content, making it more flexible, more reusable, and easier to adapt to different layouts.
Define the structure of your markdown with content schemas for better typescript tooling support and type-safe markdown.
Headless Codeblocks
Add style and behavior to codeblocks with comments handled by your own React components.
Copy, Paste,
Make it yours
Code Hike ships without UI components. But you'll find many examples in the docs that you can adapt to your needs.
Pricing
Free
- Full access to all features
- Regular updates
- Comprehensive documentation
- Support on GitHub and Discord
- Plenty copy-pastable examples
Pay what you want
- Everything in Free
- Contribute to sustainable open source
66% towards $950 per month goal