Puru Vijay
645f955845
docs: add a StackBlitz "Try It" button in code examples ( #35644 )
...
Co-authored-by: GeoSot <geo.sotis@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-03-09 17:32:58 +02:00
XhmikosR
f22966c920
example: remove unneeded escape characters
2021-08-31 17:24:38 +03:00
XhmikosR
5cc633dfab
Minor shortcode tweaks and consistency changes
2021-08-31 17:24:38 +03:00
XhmikosR
d5b405ea9a
example.html: remove extra whitespace ( #32143 )
...
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-11-13 12:45:11 +02:00
XhmikosR
08742abda3
shortcodes/example.html: allow specifying the highlighting language
2020-06-03 15:57:20 +03:00
XhmikosR
972369c997
Tighten regex a bit.
...
If we need to make this more robust in the future, we can revert this as needed.
2019-11-04 15:32:29 +02:00
XhmikosR
e40b3355f0
example.html: use double quotes
2019-11-04 15:32:29 +02:00
Christopher Morrissey
04acb679ab
Example shortcode: use a regex and simplify logic.
2019-11-04 15:32:29 +02:00
XhmikosR
6f1eb110e7
Docs: simplify a few Hugo range
s. ( #29333 )
2019-09-02 12:31:02 +03:00
XhmikosR
919b526f17
Fix shortcodes/example.html class bug. ( #29344 )
...
It always used the first placeholder's class before.
2019-08-31 08:11:16 +03:00
XhmikosR
d95d30029f
Switch to Hugo.
...
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
2019-03-13 19:22:59 +02:00