Skip to content

slhmy/full-stack-docusaurus

Repository files navigation

🐸 Full Stack Docusaurus

Recording all my learning process of full stack development.

📝 Editing

Some common usage in daily editing.

Dev with Specific Locale

npm run start -- --locale zh-CN

Translate

npx docusaurus write-translations -l zh-CN

Draft

There is a gitignored draft named folder in the root of this project, put everything you want to draft in it.

Converting HTML Content to Markdown

This script will create a .raw.md file in the same directory of the html file.

# Make sure you have installed dependencies
node scripts/html2md.ts <path-to-html>

⚠️ Warning

Migrate from docusaurus v2, might remain some bugs, check more in migration guide if meet any problems.