Skip to content

Inparsian/gtk4cmark-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gtk4cmark-rs

License Crates.io Top language

A GTK4 widget for rendering CommonMark content.

  • Written in Rust
  • Native GTK4 widget
  • Currently supports rendering of basic CommonMark elements
  • Does not re-render unchanged content

Example

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);

About

A GTK4 widget for rendering CommonMark content.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages