-
-
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.19" | ||
version = "1.0.0-alpha.20" | ||
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.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 [email protected].19 | ||
cargo add [email protected].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 | ||
|
||
|