MarkCraft - Markdown Editor
A modern, fast, and intuitive Markdown editor, developed in B4J.
It combines a user-friendly text editor with a real-time HTML preview.
Main Features
Full Markdown Editor
Undo/Redo
Preview
File management
Modern interface
Technologies used
How it Works
Have fun !
A modern, fast, and intuitive Markdown editor, developed in B4J.
It combines a user-friendly text editor with a real-time HTML preview.
Main Features
Full Markdown Editor
- Formatting: bold, italic, strikethrough
- Headings H1 to H6
- Bulleted and Numbered Lists
- Quotations
- Tasks: - [ ] and - [x]
- Horizontal Lines
- Code Insertion (```)
- Adding Links via a Dialog Box
- Adding Images with ALT + URL
- Auto-fill based on selection
Undo/Redo
- Custom Undo/Redo System
- History reset after each action
- Dedicated buttons with Font Awesome icons
Preview
- Real-time HTML preview
- Integrated WebView
- Instant Markdown rendering
- Two-way scroll synchronization
- Java ↔ JavaScript communication
File management
- Open a .md file
- Save as…
- Copy all Markdown to clipboard
- Automatic saving
Modern interface
- Font Awesome icons
- Compact toolbar
- Adjustable SplitPane
Technologies used
- B4J (RAD framework)
- JavaFX (UI + WebView)
- Font Awesome (icons)
- JavaScript for Markdown rendering
- HTML/CSS for the Preview
How it Works
- The user types Markdown in the TextArea.
- The text is sent to the WebView via JavaScript.
- The HTML is rendered instantly.
- Toolbar actions modify the text and update the preview.
- Undo/Redo allows for easy reverting.
Have fun !