Commit Graph

7 Commits (220d8d0b927465a9645ce6c1c6313ca1eb7ee690)

Author SHA1 Message Date
Tim Bannister 4febf7471d Improve styling for callouts
Update styles for callouts (warning, caution, note); also avoid applying
callout-specific styles to general block quotes.
2020-08-27 00:04:26 +01:00
Tim Bannister 847f57ecf5 Fix whitespace trimming for note callout shortcode
Use the same whitespace trimming that the other callout shortcodes
(warning, caution) use, and avoid excessive newline removal.
2020-07-13 19:17:07 +01:00
Irvi Firqotul Aini 3530e6d6d0 Using regex to allow rendering notes with an indent, for example:
{{< note >}}
If the last element of the path is a substring of the
last element in request path, it is not a match (for example:
`/foo/bar` matches`/foo/bar/baz`, but does not match `/foo/barbaz`).
{{< /note >}}

After changin to hugo 0.70 trim seems to be not working.
2020-05-14 00:16:06 +07:00
Karen Bradshaw 0c568fa9c9 fix note shortcode, lists (#13587)
* fix note shortcode, lists

- fix note shortcode for use in lists
- add example in style guide

* add more items to list

* update warning, caution, minor tweaks

* more updates
2019-04-09 18:44:12 -07:00
Seokho bdd953f0d3 Substitute en.toml for pedefined english shortcodes (#12418)
Rev Substitute en.toml for pedefined english shortcodes

Remove prefix Substitute en.toml for pedefined english shortcodes

Rev minor Substitute en.toml for pedefined english shortcodes
2019-02-14 17:32:53 -08:00
Luc Perkins d65e1790ff Add admonition type to shortcode (#9482)
* Change existing admon blocks

* Fix includes issue
2018-11-06 11:33:04 -08:00
Bjørn Erik Pedersen 7f3b633aa0 Convert site to Hugo (#8316)
This commit converts content and layout to use Hugo.
2018-05-05 09:00:51 -07:00