π SwingFX Markdown Preview v1.0.0
π¦ Installation
Maven
<!-- All-in-one (recommended) -->
<dependency>
<groupId>io.github.raghul-tech</groupId>
<artifactId>swingfx-markdown-preview-all</artifactId>
<version>1.0.0</version>
</dependency>
<!-- Core only -->
<dependency>
<groupId>io.github.raghul-tech</groupId>
<artifactId>swingfx-markdown-preview</artifactId>
<version>1.0.0</version>
</dependency>
<!-- With Flexmark -->
<dependency>
<groupId>io.github.raghul-tech</groupId>
<artifactId>swingfx-markdown-preview-flexmark</artifactId>
<version>1.0.0</version>
</dependency>
Gradle
implementation 'io.github.raghul-tech:swingfx-markdown-preview-all:1.0.0'
β¨ Features
π₯οΈ Preview Components
Component | Description |
---|---|
MarkdownPanel |
Embeddable JPanel preview |
MarkdownTab |
Tabbed interface for JTabbedPane |
MarkdownWindow |
Standalone preview window |
MarkdownRenderer |
Headless HTML generator |
π Key Features
-
β Real-time Markdown rendering
-
π Light/dark theme support
-
π Live file monitoring
-
π¨ GitHub-flavored styling
-
π Emoji support (:smile:)
-
π File & string content sources
π Quick Start
// Create window preview
MarkdownWindow preview = new MarkdownWindow(new File("README.md"));
preview.launchPreview();
// Embed in panel
MarkdownPanel panel = new MarkdownPanel("# Hello World");
frame.add(panel);
π Documentation
π Changelog
v1.0.0 Initial Release
-
Three module variants:
- Core (minimal)
- Flexmark edition
- All-in-one bundle
-
Complete theme support (light/dark)
-
File monitoring system (auto-reload)
-
Clean resource disposal
π License
- MIT License - View License