From af3ebbcff48a9c0e990e25299b9c832fd7857650 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 13 Aug 2024 12:07:31 +0200 Subject: [PATCH] 1.0.0-alpha.20 --- Cargo.toml | 2 +- readme.md | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8adba8d9..8a53c928 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "markdown" -version = "1.0.0-alpha.19" +version = "1.0.0-alpha.20" authors = ["Titus Wormer "] edition = "2018" rust-version = "1.56" diff --git a/readme.md b/readme.md index c537289a..ad24a61f 100644 --- a/readme.md +++ b/readme.md @@ -16,7 +16,7 @@ > 👉 **Note**: this is a new crate that reuses an old name. > The old crate (`0.3.0` and lower) has a bunch of problems. -> Make sure to use the new crate, currently in alpha at `1.0.0-alpha.19`. +> Make sure to use the new crate, currently in alpha at `1.0.0-alpha.20`. CommonMark compliant markdown parser in Rust with ASTs and extensions. @@ -83,12 +83,12 @@ P.S. if you want to *compile* MDX, use [`mdxjs-rs`][mdxjs-rs]. With [Rust][] (rust edition 2018+, ±version 1.56+), install with `cargo`: ```sh -cargo add markdown@1.0.0-alpha.19 +cargo add markdown@1.0.0-alpha.20 ``` > 👉 **Note**: this is a new crate that reuses an old name. > The old crate (`0.3.0` and lower) has a bunch of problems. -> Make sure to use the new crate, currently in alpha at `1.0.0-alpha.19`. +> Make sure to use the new crate, currently in alpha at `1.0.0-alpha.20`. ## Use @@ -154,10 +154,10 @@ Root { children: [Heading { children: [Text { value: "Hey, ", position: Some(1:3 ## API `markdown-rs` exposes -[`to_html`](https://docs.rs/markdown/1.0.0-alpha.19/markdown/fn.to_html.html), -[`to_html_with_options`](https://docs.rs/markdown/1.0.0-alpha.19/markdown/fn.to_html_with_options.html), -[`to_mdast`](https://docs.rs/markdown/1.0.0-alpha.19/markdown/fn.to_mdast.html), -[`Options`](https://docs.rs/markdown/1.0.0-alpha.19/markdown/struct.Options.html), +[`to_html`](https://docs.rs/markdown/1.0.0-alpha.20/markdown/fn.to_html.html), +[`to_html_with_options`](https://docs.rs/markdown/1.0.0-alpha.20/markdown/fn.to_html_with_options.html), +[`to_mdast`](https://docs.rs/markdown/1.0.0-alpha.20/markdown/fn.to_mdast.html), +[`Options`](https://docs.rs/markdown/1.0.0-alpha.20/markdown/struct.Options.html), and a few other structs and enums. See the [crate docs][docs] for more info. @@ -360,11 +360,11 @@ Special thanks go out to: [docs-badge]: https://img.shields.io/docsrs/markdown -[docs]: https://docs.rs/markdown/1.0.0-alpha.19/markdown/ +[docs]: https://docs.rs/markdown/1.0.0-alpha.20/markdown/ [crate-badge]: https://img.shields.io/crates/v/markdown -[crate]: https://crates.io/crates/markdown/1.0.0-alpha.19 +[crate]: https://crates.io/crates/markdown/1.0.0-alpha.20 [chat]: https://github.com/wooorm/markdown-rs/discussions