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
Tested with Goldmark 1.16.
package main import ( "bytes" "fmt" "log" "github.com/yuin/goldmark" "github.com/yuin/goldmark/extension" ) func main() { convert(`Foo|Bar ---|--- ` + "`" + `Yoyo` + "`" + `|Dyne`) } func convert(src string) { markdown := goldmark.New( goldmark.WithExtensions( extension.Table, ), ) var buf bytes.Buffer err := markdown.Convert([]byte(src), &buf) if err != nil { log.Fatal(err) } fmt.Println(buf.String()) }
Produces
<table> <thead> <tr> <th>Foo</th> <th>Bar</th> </tr> </thead> <tbody> <tr> <td><code>Yoyo</code>|Dyne</td> <td></td> </tr> </tbody> </table>
The "try it" on https://commonmark.org/help/tutorial/02-emphasis.html renders it correclty, https://spec.commonmark.org/dingus/ renders nothing.
gohugoio/hugo#6641
The text was updated successfully, but these errors were encountered:
e017109
Thanks for the amazingly fast bugfix!
Sorry, something went wrong.
For the record, it's fixed in commit 2aab93e. Commit e017109 only added the failing test.
\
No branches or pull requests
Tested with Goldmark 1.16.
Produces
The "try it" on https://commonmark.org/help/tutorial/02-emphasis.html renders it correclty, https://spec.commonmark.org/dingus/ renders nothing.
gohugoio/hugo#6641
The text was updated successfully, but these errors were encountered: