diff --git a/Cargo.toml b/Cargo.toml index c86dad6..5462ac3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,7 +38,7 @@ license = "MIT" name = "markdown" repository = "https://github.com/wooorm/markdown-rs" rust-version = "1.56" -version = "1.0.0-alpha.24" +version = "1.0.0" [workspace] members = ["generate", "mdast_util_to_markdown"] diff --git a/mdast_util_to_markdown/Cargo.toml b/mdast_util_to_markdown/Cargo.toml index 577708c..17484f1 100644 --- a/mdast_util_to_markdown/Cargo.toml +++ b/mdast_util_to_markdown/Cargo.toml @@ -1,5 +1,5 @@ [dependencies] -markdown = { path = "../", version = "1.0.0-alpha.24" } +markdown = { path = "../", version = "1.0.0" } regex = { version = "1" } [dev-dependencies] diff --git a/readme.md b/readme.md index 3b2961b..f3710ba 100644 --- a/readme.md +++ b/readme.md @@ -11,12 +11,6 @@ [![Build][badge-build-image]][badge-build-url] [![Coverage][badge-coverage-image]][badge-coverage-url] -> 👉 **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.24`. - CommonMark compliant markdown parser in Rust with ASTs and extensions. ## Feature highlights @@ -106,16 +100,9 @@ With [Rust][] install with `cargo`: ```sh -cargo add markdown@1.0.0-alpha.24 +cargo add markdown ``` -> 👉 **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.24`. - ## Use ```rs @@ -179,10 +166,10 @@ Root { children: [Heading { children: [Text { value: "Hi ", position: Some(1:3-1 ## API `markdown-rs` exposes -[`to_html`](https://docs.rs/markdown/1.0.0-alpha.24/markdown/fn.to_html.html), -[`to_html_with_options`](https://docs.rs/markdown/1.0.0-alpha.24/markdown/fn.to_html_with_options.html), -[`to_mdast`](https://docs.rs/markdown/1.0.0-alpha.24/markdown/fn.to_mdast.html), -[`Options`](https://docs.rs/markdown/1.0.0-alpha.24/markdown/struct.Options.html), +[`to_html`](https://docs.rs/markdown/latest/markdown/fn.to_html.html), +[`to_html_with_options`](https://docs.rs/markdown/latest/markdown/fn.to_html_with_options.html), +[`to_mdast`](https://docs.rs/markdown/latest/markdown/fn.to_mdast.html), +[`Options`](https://docs.rs/markdown/latest/markdown/struct.Options.html), and a few other structs and enums. See the [crate docs][docs] for more info. @@ -399,9 +386,9 @@ Special thanks go out to: [badge-coverage-url]: https://codecov.io/github/wooorm/markdown-rs -[docs]: https://docs.rs/markdown/1.0.0-alpha.24/markdown/ +[docs]: https://docs.rs/markdown/latest/markdown/ -[crate]: https://crates.io/crates/markdown/1.0.0-alpha.24 +[crate]: https://crates.io/crates/markdown [repo]: https://github.com/wooorm/markdown-rs