From ec2d1bfb4232178fb3a6cba36f138bc6efbbf34a Mon Sep 17 00:00:00 2001
From: Titus Wormer Click here if you are not redirected.' > target/doc/index.html
+ - run: echo ' Click here if you are not redirected.' > target/doc/index.html
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
diff --git a/Cargo.toml b/Cargo.toml
index ef0d46e..b794a87 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,12 +1,12 @@
[package]
-name = "micromark"
+name = "markdown"
version = "0.0.0"
authors = ["Titus Wormer Hi, <i>venus</i>! a aRedirecting…
Redirecting…
\n
`.
///
@@ -763,18 +761,18 @@ pub struct CompileOptions {
/// ## Examples
///
/// ```
- /// use micromark::{micromark, micromark_with_options, CompileOptions, LineEnding, Options};
+ /// use markdown::{to_html, to_html_with_options, CompileOptions, LineEnding, Options};
/// # fn main() -> Result<(), String> {
///
- /// // micromark uses `\n` by default:
+ /// // `markdown-rs` uses `\n` by default:
/// assert_eq!(
- /// micromark("> a"),
+ /// to_html("> a"),
/// "\n
"
/// );
///
/// // Define `default_line_ending` to configure the default:
/// assert_eq!(
- /// micromark_with_options(
+ /// to_html_with_options(
/// "> a",
/// &Options {
/// compile: CompileOptions {
@@ -805,12 +803,12 @@ pub struct CompileOptions {
/// ## Examples
///
/// ```
- /// use micromark::{micromark, micromark_with_options, CompileOptions, Options, ParseOptions};
+ /// use markdown::{to_html_with_options, CompileOptions, Options, ParseOptions};
/// # fn main() -> Result<(), String> {
///
/// // `"Footnotes"` is used by default:
/// assert_eq!(
- /// micromark_with_options(
+ /// to_html_with_options(
/// "[^a]\n\n[^a]: b",
/// &Options::gfm()
/// )?,
@@ -819,7 +817,7 @@ pub struct CompileOptions {
///
/// // Pass `gfm_footnote_label` to use something else:
/// assert_eq!(
- /// micromark_with_options(
+ /// to_html_with_options(
/// "[^a]\n\n[^a]: b",
/// &Options {
/// parse: ParseOptions::gfm(),
@@ -850,12 +848,12 @@ pub struct CompileOptions {
/// ## Examples
///
/// ```
- /// use micromark::{micromark, micromark_with_options, CompileOptions, Options, ParseOptions};
+ /// use markdown::{to_html_with_options, CompileOptions, Options, ParseOptions};
/// # fn main() -> Result<(), String> {
///
/// // `"h2"` is used by default:
/// assert_eq!(
- /// micromark_with_options(
+ /// to_html_with_options(
/// "[^a]\n\n[^a]: b",
/// &Options::gfm()
/// )?,
@@ -864,7 +862,7 @@ pub struct CompileOptions {
///
/// // Pass `gfm_footnote_label_tag_name` to use something else:
/// assert_eq!(
- /// micromark_with_options(
+ /// to_html_with_options(
/// "[^a]\n\n[^a]: b",
/// &Options {
/// parse: ParseOptions::gfm(),
@@ -898,12 +896,12 @@ pub struct CompileOptions {
/// ## Examples
///
/// ```
- /// use micromark::{micromark, micromark_with_options, CompileOptions, Options, ParseOptions};
+ /// use markdown::{to_html_with_options, CompileOptions, Options, ParseOptions};
/// # fn main() -> Result<(), String> {
///
/// // `"class=\"sr-only\""` is used by default:
/// assert_eq!(
- /// micromark_with_options(
+ /// to_html_with_options(
/// "[^a]\n\n[^a]: b",
/// &Options::gfm()
/// )?,
@@ -912,7 +910,7 @@ pub struct CompileOptions {
///
/// // Pass `gfm_footnote_label_attributes` to use something else:
/// assert_eq!(
- /// micromark_with_options(
+ /// to_html_with_options(
/// "[^a]\n\n[^a]: b",
/// &Options {
/// parse: ParseOptions::gfm(),
@@ -941,12 +939,12 @@ pub struct CompileOptions {
/// ## Examples
///
/// ```
- /// use micromark::{micromark, micromark_with_options, CompileOptions, Options, ParseOptions};
+ /// use markdown::{to_html_with_options, CompileOptions, Options, ParseOptions};
/// # fn main() -> Result<(), String> {
///
/// // `"Back to content"` is used by default:
/// assert_eq!(
- /// micromark_with_options(
+ /// to_html_with_options(
/// "[^a]\n\n[^a]: b",
/// &Options::gfm()
/// )?,
@@ -955,7 +953,7 @@ pub struct CompileOptions {
///
/// // Pass `gfm_footnote_back_label` to use something else:
/// assert_eq!(
- /// micromark_with_options(
+ /// to_html_with_options(
/// "[^a]\n\n[^a]: b",
/// &Options {
/// parse: ParseOptions::gfm(),
@@ -997,12 +995,12 @@ pub struct CompileOptions {
/// ## Examples
///
/// ```
- /// use micromark::{micromark, micromark_with_options, CompileOptions, Options, ParseOptions};
+ /// use markdown::{to_html_with_options, CompileOptions, Options, ParseOptions};
/// # fn main() -> Result<(), String> {
///
/// // `"user-content-"` is used by default:
/// assert_eq!(
- /// micromark_with_options(
+ /// to_html_with_options(
/// "[^a]\n\n[^a]: b",
/// &Options::gfm()
/// )?,
@@ -1011,7 +1009,7 @@ pub struct CompileOptions {
///
/// // Pass `gfm_footnote_clobber_prefix` to use something else:
/// assert_eq!(
- /// micromark_with_options(
+ /// to_html_with_options(
/// "[^a]\n\n[^a]: b",
/// &Options {
/// parse: ParseOptions::gfm(),
@@ -1041,12 +1039,12 @@ pub struct CompileOptions {
/// ## Examples
///
/// ```
- /// use micromark::{micromark_with_options, CompileOptions, Options, ParseOptions};
+ /// use markdown::{to_html_with_options, CompileOptions, Options, ParseOptions};
/// # fn main() -> Result<(), String> {
///
- /// // With `allow_dangerous_html`, micromark passes HTML through untouched:
+ /// // With `allow_dangerous_html`, `markdown-rs` passes HTML through untouched:
/// assert_eq!(
- /// micromark_with_options(
+ /// to_html_with_options(
/// "