We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1. ``` ```
<ol> <li> <pre><code></code></pre> </li> </ol>
<ol> <li> <pre><code></code></pre> ``</li> </ol>
The text was updated successfully, but these errors were encountered:
go 1.19 require github.com/yuin/goldmark v1.4.14
package _test import ( "github.com/yuin/goldmark" "os" "strings" ) func Example_convert() { m := goldmark.New() source := ` 1. aaa aaa ` source = strings.ReplaceAll(source, "aaa", "```") _ = m.Convert([]byte(source), os.Stdout) // Output: // <ol> // <li> // <pre><code></code></pre> // </li> // </ol> }
output:
=== RUN Example_convert --- FAIL: Example_convert (0.00s) got: <ol> <li> <pre><code></code></pre> ``</li> </ol> want: <ol> <li> <pre><code></code></pre> </li> </ol> FAIL
Sorry, something went wrong.
a3630e3
No branches or pull requests
Yes.
The text was updated successfully, but these errors were encountered: