β¨ Transform your Markdown content into beautiful OneNote-compatible format with advanced diagram support and modern styling
- Real-time Markdown Conversion - See your content transform as you type
- OneNote Optimization - Specially formatted for seamless OneNote integration
- Dual Output Modes - Choose between OneNote-compatible PNG diagrams or web-friendly SVG
- File Upload Support - Load
.mdand.txtfiles directly - Export Options - Copy to clipboard or download as HTML
- π§ββοΈ Mermaid Diagrams - Flowcharts, sequence diagrams, and more
- πΏ PlantUML Diagrams - UML diagrams with full PlantUML syntax support
- π GraphViz Diagrams - Powerful graph visualization with DOT notation
- PNG/SVG Export - Automatic conversion for OneNote compatibility
- Dark Theme Design - Easy on the eyes with GitHub-inspired styling
- Responsive Layout - Perfect on desktop, tablet, and mobile
- Glass Morphism Effects - Modern backdrop blur and transparency
- Smooth Animations - Subtle transitions and hover effects
- Custom Scrollbars - Styled scrollbars for consistent experience
- Vanilla JavaScript (ES6+) - Modern JavaScript with async/await
- CSS3 with Custom Properties - Advanced styling with CSS variables
- HTML5 - Semantic markup with accessibility features
- Marked.js v5.0.2 - Fast Markdown parser
- Mermaid.js - Diagram and flowchart generation
- PlantUML Encoder - PlantUML diagram encoding
- @hpcc-js/wasm - GraphViz WebAssembly implementation
- Google Fonts - Inter & JetBrains Mono for optimal readability
- CSS Grid & Flexbox - Modern layout systems
- CSS Gradients - Beautiful color transitions
- CSS Animations - Smooth micro-interactions
- Responsive Design - Mobile-first approach
- Convert technical documentation to OneNote
- Preserve code syntax highlighting
- Include flowcharts and diagrams
- Transform project plans with Gantt charts
- Convert user story mapping to OneNote
- Include architecture diagrams
- Convert course notes with mathematical notation
- Include concept maps and mind maps
- Transform study guides with visual elements
- Convert meeting notes with action items
- Include process flow diagrams
- Transform project proposals with charts
- Visit https://allarddewinter.github.io/markdown-to-onenote/
- Paste your Markdown content
- Select output mode (OneNote or HTML)
- Copy the result to your clipboard
- Paste directly into OneNote
# Clone the repository
git clone https://github.com/allarddewinter/markdown-to-onenote.git
# Navigate to the project directory
cd markdown-to-onenote
# Open with a local server (recommended)
# Using Python 3
python -m http.server 8000
# Using Node.js (if you have http-server installed)
npx http-server
# Or simply open index.html in your browser# My Project Documentation
## Overview
This is a **sample** project with _italic_ text and `inline code`.
### Features
- Feature 1
- Feature 2
- Feature 3```mermaid
graph TD
A[Start] --> B{Is it working?}
B -->|Yes| C[Great!]
B -->|No| D[Debug]
D --> B
``````plantuml
@startuml
actor User
User -> System: Login Request
System -> Database: Validate User
Database -> System: User Valid
System -> User: Login Success
@enduml
``````graphviz
digraph G {
rankdir=LR;
node [shape=box];
A -> B -> C;
A -> D -> C;
}
```- Converts diagrams to PNG images
- Optimized for OneNote compatibility
- Best for final documentation
- Keeps diagrams as SVG
- Better for web viewing
- Smaller file sizes
The application automatically detects and renders:
- Mermaid: ```mermaid code blocks
- PlantUML: ```plantuml code blocks
- GraphViz: ```graphviz or ```dot code blocks
The application uses CSS variables for easy customization:
:root {
--bg-primary: #0d1117;
--text-primary: #f0f6fc;
--border-accent: #58a6ff;
/* ... and many more */
}- Desktop: 1200px and above
- Tablet: 768px - 1199px
- Mobile: Below 768px
| Browser | Version | Status |
|---|---|---|
| Chrome | 80+ | β Full Support |
| Firefox | 75+ | β Full Support |
| Safari | 13+ | β Full Support |
| Edge | 80+ | β Full Support |
- Clipboard API - For copy functionality
- Canvas API - For diagram PNG conversion
- WebAssembly - For GraphViz rendering
Contributions are welcome! Here's how you can help:
- Use the issue tracker
- Include browser version and steps to reproduce
- Provide sample Markdown that causes issues
- Check existing issues first
- Describe the use case and expected behavior
- Consider contributing a pull request
- Fork the repository
- Create a feature branch:
git checkout -b feature-name - Make your changes
- Test thoroughly
- Submit a pull request
- Use ES6+ features
- Follow existing naming conventions
- Add comments for complex logic
- Test with multiple browsers
const converter = new MarkdownToOneNoteConverter();convertMarkdown()- Convert current input to HTMLclearContent()- Clear input and outputcopyToClipboard()- Copy result to clipboarddownloadHTML()- Download result as HTML fileloadFile(event)- Load file from input
processMermaidDiagrams(markdown)- Process Mermaid diagramsprocessPlantUMLDiagrams(markdown)- Process PlantUML diagramsprocessGraphVizDiagrams(markdown)- Process GraphViz diagrams
- Math Equation Support - LaTeX/MathJax integration
- Custom CSS Themes - User-defined styling
- Batch File Processing - Multiple file conversion
- Advanced Export Options - PDF, Word, etc.
This project is licensed under the MIT License - see the LICENSE file for details.
- Marked.js - For excellent Markdown parsing
- Mermaid.js - For beautiful diagram generation
- PlantUML - For comprehensive UML support
- GraphViz - For powerful graph visualization
- Google Fonts - For beautiful typography
- GitHub Issues: Report bugs or request features
- Discussions: Ask questions or share ideas
Made with β€οΈ by Allard de Winter
β Found this helpful? Give it a star! β