Enhancements for Markdown tables and blockquotes #75
razonyang
announced in
Announcements
Replies: 1 comment 4 replies
-
FYI, 'Blockquote Render Hook' is added in Hugo v0.132, and 'Table Render Hook' is added in Hugo v0.134. I really wonder if that added 'Table Render Hook' can create/render 'header-less table' or not... GFM(GitHub Flavored Markdown) doesn't support it, and Goldmark that Hugo uses also doesn't support it because Goldmark is implementation of CommonMark, which also doesn't support 'header-less table'. So, the only way to create 'header-less table' is to use HTML directly, and it looks dirty :( |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With the newer table hook and blockquote hook of Hugo
v0.134.0
, now you have a much better control of rendering tables and blockquotes, and generate alerts with blockquotes, rather than using shortcodes.To use those newest features, you'll need to upgrade Hugo to
v0.134.0
or later, update modules (hugo mod get -u ...
), and enablemarkup.goldmark.parser.attribute.block
as well.Please refer to the following documents for detailed usage instructions.
Please let us know if there is any issue.
Beta Was this translation helpful? Give feedback.
All reactions