aboutsummaryrefslogtreecommitdiff
path: root/site/layouts/shortcodes/example.html
AgeCommit message (Collapse)AuthorFilesLines
2021-08-31example: remove unneeded escape charactersXhmikosR1-1/+1
2021-08-31Minor shortcode tweaks and consistency changesXhmikosR1-7/+9
2020-11-13example.html: remove extra whitespace (#32143)XhmikosR1-1/+1
If we don't pass `class` to the `placeholder` shortcode, this resulted in two spaces before the `alt` attribute: ```html {{< example >}} {{< placeholder width="64" height="64" >}} {{< /example >}} ``` ```html <img src="..." alt="..."> ```
2020-06-03shortcodes/example.html: allow specifying the highlighting languageXhmikosR1-1/+2
2019-11-04Tighten regex a bit.XhmikosR1-2/+2
If we need to make this more robust in the future, we can revert this as needed.
2019-11-04example.html: use double quotesXhmikosR1-3/+3
2019-11-04Example shortcode: use a regex and simplify logic.Christopher Morrissey1-32/+3
2019-09-02Docs: simplify a few Hugo `range`s. (#29333)XhmikosR1-1/+1
2019-08-31Fix shortcodes/example.html class bug. (#29344)XhmikosR1-8/+9
It always used the first placeholder's class before.
2019-03-13Switch to Hugo.XhmikosR1-0/+53
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!