-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Goldmark as the new default markdown handler
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes #5963 Fixes #1778 Fixes #6355
- Loading branch information
Showing
69 changed files
with
3,421 additions
and
1,665 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
bfb9613
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @bep, thanks for this great work!
Was wondering if you can help me understand the implication a bit more.
I am in the middle of debugging a code block rendering issue.
For a code block starts with
```sequence
, my theme(even
) will be able to treat it as a signal to invoke js lib to draw a sequence diagram.The code stopped working because my sequence diagram code block is now treated as
language-fallback
vs before it was treated aslanguage-sequence
.Do you know the correct part of code I should read in order to ask
hugo
to autogen thelanguage-sequence
vs automatically resolve tolanguage-fallback
?My goal is to make sure I can instruct the
hugo
engine to retain whatever I specified as the code language instead of changing it tofallback
.bfb9613
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mkmojo,
Please don't ask questions on commits, especially commits from 8 months ago. I'd suggest you use the discussion forums for help with your question.
bfb9613
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, still learning the rules of the community.
Thanks for point me to the right direction.