https://github.com/hunghg255/template-docusaurus
A template write documentation built docusaurus
https://github.com/hunghg255/template-docusaurus
docusaurus2 template
Last synced: 3 months ago
JSON representation
A template write documentation built docusaurus
- Host: GitHub
- URL: https://github.com/hunghg255/template-docusaurus
- Owner: hunghg255
- Created: 2023-02-27T04:35:42.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-03T11:15:07.000Z (over 1 year ago)
- Last Synced: 2025-07-14T03:02:14.583Z (3 months ago)
- Topics: docusaurus2, template
- Language: JavaScript
- Homepage:
- Size: 816 KB
- Stars: 10
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Website
### Installation
```
npm install
```### Local Development
```
npm start
```### Build
```
npm build
```## How to write markdown
### Embed Expo
````
```SnackPlayer name=Hello%20World
import React from 'react';
import { Text, View } from 'react-native';const YourApp = () => {
return (
Try editing me! 🎉
);
}export default YourApp;```
````
### Embed StackBlitz
```
```
### Live code: Add block with keywork live
````
```tsx live
function Clock(props) {
const [date, setDate] = useState(new Date());
useEffect(() => {
var timerID = setInterval(() => tick(), 1000);return function cleanup() {
clearInterval(timerID);
};
});function tick() {
setDate(new Date());
}return (
It is {date.toLocaleTimeString()}.
);
}```
````### Live code with Mutil components
````
```jsx live noInline
const project = 'Docusaurus';const Greeting = () =>
Hello {project}!
;render();```
````### Mermaid: add block with keyword mermaid
````
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;```
````