| Crates.io | gtk4cmark |
| lib.rs | gtk4cmark |
| version | 0.0.3 |
| created_at | 2025-12-24 08:16:18.598108+00 |
| updated_at | 2025-12-26 12:55:17.962309+00 |
| description | A GTK4 widget for rendering CommonMark content. |
| homepage | https://inpr.sn |
| repository | https://github.com/Inparsian/gtk4cmark-rs |
| max_upload_size | |
| id | 2002878 |
| size | 50,608 |
A GTK4 widget for rendering CommonMark content.
let bx = gtk4::Box::new(gtk4::Orientation::Vertical, 0);
// Create a MarkdownView and set some markdown content
let markdown_view = MarkdownView::new();
markdown_view.set_markdown("# Hello, GTK4Cmark!\nThis is a *CommonMark* example.");
// MarkdownView inherits from gtk4::Widget, so you can add it to containers
bx.append(&markdown_view);