Advanced Examples
Powered by MDXβ
With Docusuarus, you can write JSX and use React components within your Markdown thanks to MDX.
Docusaurus green and Facebook blue are my favorite colors.
I can write Markdown alongside my JSX!
Tabsβ
- Apple
- Orange
- Banana
This is an apple π
This is an orange π
This is a banana π
Code Box with Titleβ
/src/components/HelloCodeTitle.js
function HelloCodeTitle(props) {
return <h1>Hello, {props.name}</h1>;
}
Tabbed Code Boxβ
- JavaScript
- Python
- Java
function helloWorld() {
console.log('Hello, world!');
}
def hello_world():
print 'Hello, world!'
class HelloWorld {
public static void main(String args[]) {
System.out.println("Hello, World");
}
}