{"repo":"lampsitter/egui_commonmark","free":true,"listed":false,"github":"https://github.com/lampsitter/egui_commonmark","clone":"git clone https://github.com/lampsitter/egui_commonmark.git","description":"Markdown viewer for egui","language":"Rust","stars":178,"topics":["egui","commonmark","rust","markdown"],"license":"Apache-2.0","category":"productivity","readme_excerpt":"A commonmark viewer for egui While this crate's main focus is commonmark, it also supports a subset of Github's markdown syntax: tables, strikethrough, tasklists and footnotes. Usage In Cargo.toml: Compile time evaluation of markdown If you want to embed markdown directly into the binary then you can enable the macros feature. This will do the parsing of the markdown at compile time and output egui widgets. Example Alternatively you can embed a file Example Features macros : macros for compile time parsing of markdown better syntax highlighting : Syntax highlighting inside code blocks with syntect svg : Support for viewing svg images fetch : Images with urls will be downloaded and displayed embedded image : Load base64 image data urls from within markdown files Examples For an easy intro check out the hello world example. To see all the different features egui commonmark has to offer check out the book example. FAQ URL is not displayed when hovering over a link By default egui does not show urls when you hover hyperlinks. To enable it, you can do the following before calling any ui related functions: MSRV Policy This crate uses the same MSRV as the latest released egui version. License Licensed under either of Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.","default_branch":null,"files":null,"tree":[],"storefront":"/r/lampsitter","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lampsitter/egui_commonmark/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}