aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-11-25 12:41:10 +0100
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-11-25 12:43:17 +0100
commitaf962122d2e063aabece64296bce004648802dfc (patch)
tree029ac0b0458adf8df95a04e48996d16043839b86
parente6e05b52b353fc7e1d82f84c04309af554020bec (diff)
downloadmarkdown-rs-af962122d2e063aabece64296bce004648802dfc.tar.gz
markdown-rs-af962122d2e063aabece64296bce004648802dfc.tar.bz2
markdown-rs-af962122d2e063aabece64296bce004648802dfc.zip
1.0.0-alpha.4
Diffstat (limited to '')
-rw-r--r--Cargo.toml2
-rw-r--r--readme.md18
2 files changed, 10 insertions, 10 deletions
diff --git a/Cargo.toml b/Cargo.toml
index de163b1..cd80209 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "markdown"
-version = "1.0.0-alpha.3"
+version = "1.0.0-alpha.4"
authors = ["Titus Wormer <tituswormer@gmail.com>"]
edition = "2018"
rust-version = "1.56"
diff --git a/readme.md b/readme.md
index bfe0dff..7f39fdf 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.3`.
+> Make sure to use the new crate, currently in alpha at `1.0.0-alpha.4`.
CommonMark compliant markdown parser in Rust with ASTs and extensions.
@@ -80,12 +80,12 @@ This Rust crate has a sibling project in JavaScript: [`micromark`][micromark]
With [Rust][] (rust edition 2018+, ±version 1.56+), install with `cargo`:
```sh
-cargo add markdown@1.0.0-alpha.3
+cargo add markdown@1.0.0-alpha.4
```
> 👉 **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.3`.
+> Make sure to use the new crate, currently in alpha at `1.0.0-alpha.4`.
## Use
@@ -151,10 +151,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.3/markdown/fn.to_html.html),
-[`to_html_with_options`](https://docs.rs/markdown/1.0.0-alpha.3/markdown/fn.to_html_with_options.html),
-[`to_mdast`](https://docs.rs/markdown/1.0.0-alpha.3/markdown/fn.to_mdast.html),
-[`Options`](https://docs.rs/markdown/1.0.0-alpha.3/markdown/struct.Options.html),
+[`to_html`](https://docs.rs/markdown/1.0.0-alpha.4/markdown/fn.to_html.html),
+[`to_html_with_options`](https://docs.rs/markdown/1.0.0-alpha.4/markdown/fn.to_html_with_options.html),
+[`to_mdast`](https://docs.rs/markdown/1.0.0-alpha.4/markdown/fn.to_mdast.html),
+[`Options`](https://docs.rs/markdown/1.0.0-alpha.4/markdown/struct.Options.html),
and a few other structs and enums.
See the [crate docs][docs] for more info.
@@ -344,11 +344,11 @@ Special thanks go out to:
[docs-badge]: https://img.shields.io/docsrs/markdown
-[docs]: https://docs.rs/markdown/1.0.0-alpha.3/markdown/
+[docs]: https://docs.rs/markdown/1.0.0-alpha.4/markdown/
[crate-badge]: https://img.shields.io/crates/v/markdown
-[crate]: https://crates.io/crates/markdown/1.0.0-alpha.3
+[crate]: https://crates.io/crates/markdown/1.0.0-alpha.4
[chat]: https://github.com/wooorm/markdown-rs/discussions