Skip to content

Commit

Permalink
Make examples more accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
lampsitter committed Sep 7, 2024
1 parent b4c7b18 commit 0eea543
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions egui_commonmark/examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Overview of examples

## hello_world.rs

A good starting point.

## interactive.rs

An interactive example where you can play around with the markdown text at
runtime.

## book.rs

Intended to show all the different rendering features of the crate.

## macros.rs

Features compile time markdown parsing.

## show_mut.rs

How to make checkboxes interactive.

## link_hooks.rs

Allow hijacking links for doing operations within the application such as
changing a markdown page in a book without displaying the destination link.

## mixing.rs

Shows commonmark elements mixed with egui widgets. It displays the widgets with
no spaces in between as if the markdown was egui widgets.

## scroll.rs

Intended to allow showing a long markdown text and only process the displayed
parts. Currently it only works in very basic cases, the feature requires some
more work to be generally useful.

0 comments on commit 0eea543

Please sign in to comment.