Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lampsitter committed Sep 13, 2023
1 parent d2fdf6a commit 065c37d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ Github's markdown syntax: tables, strikethrough, tasklists and footnotes.

## Usage

```toml
# Specify the the ways you want to load images, check egui_extras features
# for more info. Or use the feature "all-loaders" if you don't care.
egui_extras = { version = "<to-be-released>", features = ["image", files"] }

# Opt into the image formats you want to load
image = { version = "0.24", features = ["png"] }
```

```rust
use egui_commonmark::*;
let markdown =
Expand Down

0 comments on commit 065c37d

Please sign in to comment.