|
11 | 11 | [![Build][badge-build-image]][badge-build-url] |
12 | 12 | [![Coverage][badge-coverage-image]][badge-coverage-url] |
13 | 13 |
|
14 | | -> 👉 **Note**: |
15 | | -> this is a new crate that reuses an old name. |
16 | | -> The old crate (`0.3.0` and lower) has a bunch of problems. |
17 | | -> Make sure to use the new crate, |
18 | | -> currently in alpha at `1.0.0-alpha.24`. |
19 | | -
|
20 | 14 | CommonMark compliant markdown parser in Rust with ASTs and extensions. |
21 | 15 |
|
22 | 16 | ## Feature highlights |
@@ -106,16 +100,9 @@ With [Rust][] |
106 | 100 | install with `cargo`: |
107 | 101 |
|
108 | 102 | ```sh |
109 | | -cargo add markdown@1.0.0-alpha.24 |
| 103 | +cargo add markdown |
110 | 104 | ``` |
111 | 105 |
|
112 | | -> 👉 **Note**: |
113 | | -> this is a new crate that reuses an old name. |
114 | | -> The old crate (`0.3.0` and lower) |
115 | | -> has a bunch of problems. |
116 | | -> Make sure to use the new crate, |
117 | | -> currently in alpha at `1.0.0-alpha.24`. |
118 | | -
|
119 | 106 | ## Use |
120 | 107 |
|
121 | 108 | ```rs |
@@ -179,10 +166,10 @@ Root { children: [Heading { children: [Text { value: "Hi ", position: Some(1:3-1 |
179 | 166 | ## API |
180 | 167 |
|
181 | 168 | `markdown-rs` exposes |
182 | | -[`to_html`](https://docs.rs/markdown/1.0.0-alpha.24/markdown/fn.to_html.html), |
183 | | -[`to_html_with_options`](https://docs.rs/markdown/1.0.0-alpha.24/markdown/fn.to_html_with_options.html), |
184 | | -[`to_mdast`](https://docs.rs/markdown/1.0.0-alpha.24/markdown/fn.to_mdast.html), |
185 | | -[`Options`](https://docs.rs/markdown/1.0.0-alpha.24/markdown/struct.Options.html), |
| 169 | +[`to_html`](https://docs.rs/markdown/latest/markdown/fn.to_html.html), |
| 170 | +[`to_html_with_options`](https://docs.rs/markdown/latest/markdown/fn.to_html_with_options.html), |
| 171 | +[`to_mdast`](https://docs.rs/markdown/latest/markdown/fn.to_mdast.html), |
| 172 | +[`Options`](https://docs.rs/markdown/latest/markdown/struct.Options.html), |
186 | 173 | and a few other structs and enums. |
187 | 174 |
|
188 | 175 | See the [crate docs][docs] for more info. |
@@ -399,9 +386,9 @@ Special thanks go out to: |
399 | 386 |
|
400 | 387 | [badge-coverage-url]: https://codecov.io/github/wooorm/markdown-rs |
401 | 388 |
|
402 | | -[docs]: https://docs.rs/markdown/1.0.0-alpha.24/markdown/ |
| 389 | +[docs]: https://docs.rs/markdown/latest/markdown/ |
403 | 390 |
|
404 | | -[crate]: https://crates.io/crates/markdown/1.0.0-alpha.24 |
| 391 | +[crate]: https://crates.io/crates/markdown |
405 | 392 |
|
406 | 393 | [repo]: https://github.com/wooorm/markdown-rs |
407 | 394 |
|
|
0 commit comments