Skip to content

anthule123/draft-kit

Repository files navigation

DraftKit 🛣️

A powerful toolkit for creating drafts and technical content with modern tools.

Features ✨

  • 📝 Markdown Support: Clean and simple text formatting
  • 📊 Mermaid Integration: Create elegant diagrams and flowcharts
  • 🔢 Mathematics Support:
    • Typst for mathematics
  • P5js for drawing
  • 🌳 Smart Navigation: Automatic TreeSideBar generation
  • 🇻🇳 Unicode Support: Full compatibility with Vietnamese characters and spaces in paths

Getting Started 🚀

# Clone the repository
git clone https://github.com/anthule123/draft-kit.git

# Install dependencies
npm install

# Start development server
npm run dev

Usage 💡

  1. Create content using Markdown:
# Your Title
Your content here...
  1. Add diagrams with Mermaid:
graph TD
    A[Start] --> B[End]
Loading
  1. Insert simple math blocks with Typst:
$$vec(a/b, a/b, a/b) = vec(1, 1, 1)$$

Documentation 📚

Visit our documentation for detailed guides and examples.

License 📄

MIT License - see LICENSE for details

Contributing 🤝

Contributions are welcome! Please read our contributing guidelines.


Built with ❤️ using Next.js