[x] goldmark is fully compliant with the CommonMark. Before submitting issue, you must read CommonMark spec and confirm your output is different from CommonMark online demo.
[x] Extensions(Autolink without <>, Table, etc) are not part of CommonMark spec. You should confirm your output is different from other official renderers correspond with an extension.
[x] goldmark is not dedicated for Hugo. If you are Hugo user and your issue was raised by your experience in Hugo, you should consider create issue at Hugo repository at first .
[x] Before you make a feature request, you should consider implement the new feature as an extension by yourself . To keep goldmark itself simple, most new features should be implemented as an extension.
Please answer the following before submitting your issue:
What version of goldmark are you using? : Hugo v0.68.3/extended (sorry, I don't know)
What version of Go are you using? : Hugo v0.68.3/extended (sorry, I don't know)
What operating system and processor architecture are you using? : Hugo Static Site Generator v0.68.3/extended darwin/amd64 BuildDate: unknown
What did you do? : use typographer extension to replace ' => ’
What did you expect to see? : replacement of the apostrophe
What did you see instead? : apostrophe next to character with accent is not replaced, such as é
(Feature request only): Why you can not implement it as an extension?:
You should avoid saying like "I'm not familiar with this project" "I'm not a Go programmer" as far as possible. This is an open source project and a library for Go programmers. I encourage you to strive to read source codes.
I absolutely welcome questions that are difficult even if you read the source codes.
Example
Apostrophe next to normal character with no accent gets replaced:
Apostrophe next to e character with accent édoes not get replaced:
I created the issue on the Hugo repo, but since it appears to work in the Commonmark online demo, I'm assuming the bug is currently in Goldmark.
<
>
, Table, etc) are not part of CommonMark spec. You should confirm your output is different from other official renderers correspond with an extension.Please answer the following before submitting your issue:
Hugo v0.68.3/extended
(sorry, I don't know)Hugo v0.68.3/extended
(sorry, I don't know)Hugo Static Site Generator v0.68.3/extended darwin/amd64 BuildDate: unknown
'
=>’
Example
Apostrophe next to normal character with no accent gets replaced:
Apostrophe next to
e
character with accenté
does not get replaced:I created the issue on the Hugo repo, but since it appears to work in the Commonmark online demo, I'm assuming the bug is currently in Goldmark.
Thanks!