Bjørn Erik Pedersen
eb0ed33dfd
Merge commit '9aec42c5452b3eb224888c50ba1c3f3b68a447e9'
2023-09-24 11:54:45 +02:00
Bjørn Erik Pedersen
db45dbbee8
Merge commit '77b976dd92b4f66657d83d875aef0c617df492d9'
2023-08-30 19:24:34 +02:00
Bjørn Erik Pedersen
8859be1c01
Merge commit '87de22d7464e239c775fbd48ebce1665d5b1e80d'
2023-07-29 11:17:28 +02:00
Bjørn Erik Pedersen
b95e156940
Merge commit 'f96384a3b596f9bc0a3a035970b09b2c601f0ccb'
2023-05-22 16:47:07 +02:00
Bjørn Erik Pedersen
7e539cb398
Merge commit 'cf591b7c0c598d34896709db6d28598da37e3ff6'
2023-02-23 07:52:04 +01:00
Bjørn Erik Pedersen
b661132e0a
Merge commit 'ef6f101e75256c3bb88a6f1f3b5c1273bf8d7382'
2023-01-17 12:51:46 +01:00
Bjørn Erik Pedersen
f04cc581e1
Merge commit '00c4484c7092181729f6f470805bc7d72e8ad17b'
2022-11-17 16:16:19 +01:00
Bjørn Erik Pedersen
604cfffc5b
Merge commit '475f87f685439de0f907a9ffc29bfd1361eb1c59'
2022-06-16 07:22:11 +02:00
Bjørn Erik Pedersen
d7497b28c1
Merge commit 'd276e901b36d2576ef8350ed96b17f66254eac1b'
2022-03-26 11:04:57 +02:00
Bjørn Erik Pedersen
d7b22aee46
Merge commit 'c239c643fee10bfa217cb108755b798f8f5f3b10'
2021-05-01 11:45:45 +02:00
Bjørn Erik Pedersen
b725253f9e
Attributes for code fences should be placed after the lang indicator only
...
Fixes #8313
2021-03-20 19:15:11 +01:00
Bjørn Erik Pedersen
cd0c5d7ef3
Allow markdown attribute lists to be used in title render hooks
...
Fixes #8270
2021-02-23 18:08:39 +01:00
Bjørn Erik Pedersen
2681633db8
markup/goldmark: Add attributes support for blocks (tables etc.)
...
E.g.:
```
> foo
> bar
{.myclass}
```
There are some current limitations: For tables you can currently only apply it to the full table, and for lists the ul/ol-nodes only, e.g.:
```
* Fruit
* Apple
* Orange
* Banana
{.fruits}
* Dairy
* Milk
* Cheese
{.dairies}
{.list}
```
Fixes #7548
2021-02-08 19:52:55 +01:00
Bjørn Erik Pedersen
5e39eb20a6
Merge commit 'e5568488051a571df48401e03f1304b95dbc9028'
2020-10-06 16:24:00 +02:00
Bjørn Erik Pedersen
b9e4f5898b
Merge commit '7d7771b673e5949f554515a2c236b23192c765c8'
2020-09-07 21:37:51 +02:00
Bjørn Erik Pedersen
f8c67f93e1
Allow hook template per section/type
...
Fixes #7349
2020-06-02 19:02:10 +02:00
Bjørn Erik Pedersen
626b16e024
Merge commit '9e1dcefc5f559944b70d2fa520f6acd5c56a69f2'
2020-05-31 12:43:33 +02:00
Bjørn Erik Pedersen
e0e81b280f
Merge commit 'c9403cbceaaeff53ff4833561f4eefe1dc1a405e'
2020-05-18 15:25:26 +02:00
Bjørn Erik Pedersen
6b61f2a5bb
Merge commit '14e369b961943a0b977776899e24e8bea63834df'
2020-03-09 20:21:17 +01:00
Bjørn Erik Pedersen
1e5eb8679e
Merge commit '3c0036805d64fdd8290f1c4a31371780ff3ea365'
2020-02-06 13:03:30 +01:00
Bjørn Erik Pedersen
d62ede8e9e
docs: Document the new autoHeadingIDType setting
...
See #6707
See #6616
2020-01-05 12:10:12 +01:00
Bjørn Erik Pedersen
469351d5b6
Merge commit '26f1458a2df6b55eee3a5de46f5fec23a43a7c7d'
2020-01-05 11:14:51 +01:00
Bjørn Erik Pedersen
c8bfe47c6a
docs: More on hooks
2019-12-21 11:59:36 +01:00
Bjørn Erik Pedersen
00954c5d1f
Preserve HTML Text for link render hooks
...
The context now have two text methods:
* Text - rendered
* PlainText
Fixes #6629
2019-12-18 22:55:19 +01:00
Bjørn Erik Pedersen
3e316155c5
docs: Footnote
2019-12-18 16:37:43 +01:00
Bjørn Erik Pedersen
e625088ef5
Add render template hooks for links and images
...
This commit also
* revises the change detection for templates used by content files in server mode.
* Adds a Page.RenderString method
Fixes #6545
Fixes #4663
Closes #6043
2019-12-18 11:44:40 +01:00
Gavin D. Howard
4c804319f6
markup/tableofcontents: Add config option for ordered list
2019-12-12 07:48:40 +01:00
Bjørn Erik Pedersen
bfb9613a14
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
2019-11-23 14:12:24 +01:00