12 Commits

Author SHA1 Message Date
Mohammad Faani
65126f1751 added collapsing shortcode 2023-09-13 15:58:02 -04:00
Mohammad Tabrizi
3359cc355c removed comment 2022-09-16 14:43:50 -04:00
Mohammad Tabrizi
4613f5bc64 added table shortcode based off of https://zwbetz.com/style-a-markdown-table-with-bootstrap-classes-in-hugo/ 2022-06-18 21:05:08 -04:00
Mohammad Tabrizi
e627ca5bda added audio shortcode 2022-05-12 09:26:44 -04:00
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