Skip to content

Commit

Permalink
Point out book example in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lampsitter committed Feb 14, 2024
1 parent 4a630fd commit e317e6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ CommonMarkViewer::new("viewer").show(ui, &mut cache, markdown);
* `fetch`: Images with urls will be downloaded and displayed


## 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.

## License

Licensed under either of
Expand Down
2 changes: 1 addition & 1 deletion examples/scroll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fn main() {
};

eframe::run_native(
&format!("Markdown viewer link (backend '{}')", BACKEND),
&format!("Markdown viewer (backend '{}')", BACKEND),
eframe::NativeOptions::default(),
Box::new(move |cc| {
cc.egui_ctx.set_visuals(if use_dark_theme {
Expand Down

0 comments on commit e317e6a

Please sign in to comment.