Aditya Telange
450e8867a6
Update inTextImg.html
...
Fix Bad value 15px for attribute height on element img: Expected a digit but saw p instead.
2022-07-17 00:19:07 +05:30
Aditya Telange
e3c30b4e41
Add inTextImg shortcode
...
Allows adding in-line-text images
usage in page.md =>
This image is inlined {{< inTextImg.html url="image.png" >}} here.
optional args:
- height
- alt
2022-07-08 20:28:38 +05:30
Aditya Telange
5032b2c4f1
Revert "add blockquote as shortcode"
...
This reverts commit 984d1a576c
.
Removal of shortcode for blockquote: https://github.com/parsiya/Hugo-Shortcodes/blob/master/shortcodes/blockquote.html
2022-07-08 20:28:29 +05:30
drizzle
8c2f997ab3
collapse shortcode content can write formative code and change line ( #561 )
2021-09-17 18:41:23 +05:30
Mohammad Noor Abu Khleif
80ad6ec2a3
Add support for rtl
and ltr
shortcodes ( #293 )
...
refer https://github.com/adityatelange/hugo-PaperMod/pull/293#issue-585979395 for usage guide and examples
2021-03-22 16:47:40 +05:30
Aditya Telange
c353447d8e
add browser-level lazy loading
...
ref: https://web.dev/browser-level-image-lazy-loading/
2021-03-16 13:18:57 +05:30
Kian Kasad
14ebcdecf3
Add 'align' option to figure shortcode ( #256 )
...
Usage:
{{< figure align=center src="image.jpg" >}}
Parameter values:
- 'center': align image and captions to center of page
- anything else neglected
* Appends "#center" to the image's URL in order to utilize existing CSS
rules for centering images.
2021-02-22 11:24:43 +05:30
Kian Kasad
f9236d92af
shortcodes: figure: don't use h4 tag in figure captions ( #127 )
...
* avoiding h4 tags in figcaption elements
* picked from https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/shortcodes/figure.html
* figure.html is licensed under Apache License 2.0 and is part of https://github.com/gohugoio/hugo
2020-12-15 17:52:04 +05:30
jtagcat
59f648989a
Added shortcode for collapsing texts.
2020-08-23 22:23:37 +05:30
parsiya
984d1a576c
add blockquote as shortcode
2020-07-24 22:05:16 +05:30
Aditya Telange
bfcf89ccca
add shortcode to Insert Raw HTML
...
{{< rawhtml >}}
<p class="someclass">
This is <strong>raw HTML</strong>, inside Markdown.
</p>
{{< /rawhtml >}}
credits : https://anaulin.org/blog/hugo-raw-html-shortcode/
2020-07-24 21:24:18 +05:30