From ec2d1bfb4232178fb3a6cba36f138bc6efbbf34a Mon Sep 17 00:00:00 2001
From: Titus Wormer A call.^a A call.1 A paragraph. a[^b] a1 !^a !^a !^ Call.1. Call.1. Call.1. Call.1. Call.[^a+b]. Call.[^a[b]. 1. 1. 1. 1.Footnotes
@@ -38,7 +38,7 @@ fn gfm_footnote() -> Result<(), String> {
);
assert_eq!(
- micromark_with_options(
+ to_html_with_options(
"Noot.[^a]\n\n[^a]: dingen",
&Options {
parse: ParseOptions {
@@ -65,7 +65,7 @@ fn gfm_footnote() -> Result<(), String> {
);
assert_eq!(
- micromark_with_options(
+ to_html_with_options(
"[^a]\n\n[^a]: b",
&Options {
parse: ParseOptions {
@@ -91,7 +91,7 @@ fn gfm_footnote() -> Result<(), String> {
);
assert_eq!(
- micromark_with_options(
+ to_html_with_options(
"[^a]\n\n[^a]: b",
&Options {
parse: ParseOptions {
@@ -117,7 +117,7 @@ fn gfm_footnote() -> Result<(), String> {
);
assert_eq!(
- micromark_with_options(
+ to_html_with_options(
"[^a]\n\n[^a]: b",
&Options {
parse: ParseOptions {
@@ -143,19 +143,19 @@ fn gfm_footnote() -> Result<(), String> {
);
assert_eq!(
- micromark_with_options("A paragraph.\n\n[^a]: whatevs", &gfm)?,
+ to_html_with_options("A paragraph.\n\n[^a]: whatevs", &gfm)?,
"
Footnotes
@@ -169,7 +169,7 @@ fn gfm_footnote() -> Result<(), String> {
);
assert_eq!(
- micromark_with_options("a[^b], c[^b]\n\n[^b]: d", &gfm)?,
+ to_html_with_options("a[^b], c[^b]\n\n[^b]: d", &gfm)?,
"
Footnotes
@@ -183,32 +183,32 @@ fn gfm_footnote() -> Result<(), String> {
);
assert_eq!(
- micromark_with_options("![^a](b)", &gfm)?,
+ to_html_with_options("![^a](b)", &gfm)?,
"
Footnotes
@@ -222,7 +222,7 @@ fn gfm_footnote() -> Result<(), String> {
);
assert_eq!(
- micromark_with_options("Call.[^a©b].\n\n[^a©b]: y", &gfm)?,
+ to_html_with_options("Call.[^a©b].\n\n[^a©b]: y", &gfm)?,
"
Footnotes
@@ -238,7 +238,7 @@ fn gfm_footnote() -> Result<(), String> {
//
Footnotes
@@ -252,7 +252,7 @@ fn gfm_footnote() -> Result<(), String> {
);
assert_eq!(
- micromark_with_options("Call.[^a[b].\n\n[^a[b]: y", &gfm)?,
+ to_html_with_options("Call.[^a[b].\n\n[^a[b]: y", &gfm)?,
"
Footnotes
@@ -266,19 +266,19 @@ fn gfm_footnote() -> Result<(), String> {
);
assert_eq!(
- micromark_with_options("Call.[^a\\+b].\n\n[^a+b]: y", &gfm)?,
+ to_html_with_options("Call.[^a\\+b].\n\n[^a+b]: y", &gfm)?,
"
Footnotes
@@ -293,7 +293,7 @@ b [^1]: a\nb", &gfm)?,
+ to_html_with_options("[^1].\n\n> [^1]: a\nb", &gfm)?,
"
@@ -310,7 +310,7 @@ b [^1]: a\n> b", &gfm)?,
+ to_html_with_options("[^1].\n\n> [^1]: a\n> b", &gfm)?,
"
@@ -327,7 +327,7 @@ b b", &gfm)?,
+ to_html_with_options("[^1].\n\n[^1]: a\n\n > b", &gfm)?,
"Footnotes