-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "markdown" | ||
version = "1.0.0-alpha.4" | ||
version = "1.0.0-alpha.5" | ||
authors = ["Titus Wormer <[email protected]>"] | ||
edition = "2018" | ||
rust-version = "1.56" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.4`. | ||
> Make sure to use the new crate, currently in alpha at `1.0.0-alpha.5`. | ||
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 [email protected].4 | ||
cargo add [email protected].5 | ||
``` | ||
|
||
> 👉 **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.4`. | ||
> Make sure to use the new crate, currently in alpha at `1.0.0-alpha.5`. | ||
## 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.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), | ||
[`to_html`](https://docs.rs/markdown/1.0.0-alpha.5/markdown/fn.to_html.html), | ||
[`to_html_with_options`](https://docs.rs/markdown/1.0.0-alpha.5/markdown/fn.to_html_with_options.html), | ||
[`to_mdast`](https://docs.rs/markdown/1.0.0-alpha.5/markdown/fn.to_mdast.html), | ||
[`Options`](https://docs.rs/markdown/1.0.0-alpha.5/markdown/struct.Options.html), | ||
and a few other structs and enums. | ||
|
||
See the [crate docs][docs] for more info. | ||
|
@@ -348,11 +348,11 @@ Special thanks go out to: | |
|
||
[docs-badge]: https://img.shields.io/docsrs/markdown | ||
|
||
[docs]: https://docs.rs/markdown/1.0.0-alpha.4/markdown/ | ||
[docs]: https://docs.rs/markdown/1.0.0-alpha.5/markdown/ | ||
|
||
[crate-badge]: https://img.shields.io/crates/v/markdown | ||
|
||
[crate]: https://crates.io/crates/markdown/1.0.0-alpha.4 | ||
[crate]: https://crates.io/crates/markdown/1.0.0-alpha.5 | ||
|
||
[chat]: https://github.com/wooorm/markdown-rs/discussions | ||
|
||
|