aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-31 16:57:14 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-31 16:57:14 +0200
commitfa363dbba79f50001a22d1c90b8fb2009101d48c (patch)
tree35b9b938a88bdacec20afe60a0d3cb3beda97e9f /examples
parent0492c8f68c8b3758e5ffe00ca500ef3206d8cbdf (diff)
downloadmarkdown-rs-fa363dbba79f50001a22d1c90b8fb2009101d48c.tar.gz
markdown-rs-fa363dbba79f50001a22d1c90b8fb2009101d48c.tar.bz2
markdown-rs-fa363dbba79f50001a22d1c90b8fb2009101d48c.zip
Update example
Diffstat (limited to 'examples')
-rw-r--r--examples/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/lib.rs b/examples/lib.rs
index 167f169..ebe26fc 100644
--- a/examples/lib.rs
+++ b/examples/lib.rs
@@ -26,8 +26,7 @@ fn main() {
println!(
"{}",
micromark_with_options(
- // To do: use readme example when all of GFM work.
- "Just a link! https://example.com.",
+ "* [x] contact@example.com ~~strikethrough~~",
&Options {
constructs: Constructs::gfm(),
..Options::default()