Commit Graph

109 Commits

Author SHA1 Message Date
Nuno Coração
1731c36c7c Merge pull request #2091 from ZhenShuo2021/fix/gallery-path
🐛 fix: incorrect path for gallery (#2042)
2025-05-02 11:38:31 +01:00
ZhenShuo Leo
6f33b9d5cf 🐛 fix: incorrect path for gallery
Fix this issue with resource.RelPermalink
2025-05-02 17:43:56 +08:00
ZhenShuo Leo
7072628632 🐛 fix: hugo minify breaks github card (#1434)
Add a div wrapper to avoid incorrect minification by hugo.

Tested with sample https://codeberg.org/cthru/blowfish_test/src/branch/master/content/tests/1716983769844-github-card-test/index.md#
2025-05-02 14:46:32 +08:00
Nuno Coração
c838202da6 Merge pull request #2055 from ragibson/main
Rewrite templates/partials for Hugo v0.146.0
2025-05-01 16:43:38 +01:00
Nuno Coração
326839575e Merge pull request #2070 from ZhenShuo2021/fix/mermaid
🐛 fix: Preserve Mermaid indentation disrupted by Hugo minify (#2069)
2025-05-01 16:36:03 +01:00
ALXD
5af31913f1 add data-zoom-src to figure and render-image layouts fixing medium-zoom 2025-04-26 12:48:35 +02:00
ZhenShuo Leo
059d22ca96 🐛 fix: Preserve Mermaid indentation disrupted by Hugo minify (#2069)
Add a pre tag to the Mermaid class to preserve indentation and ensure data retrieval on DOMContentLoaded
2025-04-22 05:53:15 +08:00
Ryan Gibson
baaf251bde Rewrite templates/partials for Hugo v0.146.0 2025-04-11 09:32:47 -04:00
Nuno Coração
e1785fa68f polish and fixing crap from a bunch of PRs 2025-03-30 00:18:01 +00:00
Nuno Coração
10d55c186c Merge pull request #2013 from michaeldorner/patch-1
 Create gist.html
2025-03-29 23:33:37 +00:00
Michael Dorner
08c9207ea7 Create gist.html 2025-03-08 21:27:45 +01:00
wermos
525e4b5547 Removed an unused option. 2025-02-27 13:41:40 +05:30
sculptor189
213880a1a3 add rel attribute to button shortcode 2024-08-10 15:15:59 -04:00
Nuno Coração
80417d4238 final polish 2024-08-10 11:23:56 +01:00
Nuno Coração
a11112bfed Merge pull request #1666 from ldericher/selfhosted-git
 Add support for selfhosted git servers
2024-08-10 10:48:37 +01:00
Nuno Coração
e796e4195a Merge pull request #1667 from ldericher/fix-typos
🐛 Fix typos
2024-08-10 10:44:43 +01:00
Jörn-Michael Miehe
5762ecaf1b add shortcodes
- "forgejo" and "gitea"
- add copies as giteaColors.json resp. forgejoColors.json
- add params "giteaDefaultServer" and "forgejoDefaultServer"
2024-08-08 02:01:38 +02:00
Jörn-Michael Miehe
cfe270e278 🐛 fix typos in "codeberg" shortcode 2024-08-07 23:01:50 +02:00
W.T. Chang
121909e809 fix warning caused by getJSON 2024-07-18 23:33:44 +08:00
jason810496
c91bc9dfb5 fix: handle codeimporter URL encoding 2024-06-22 23:37:23 +08:00
jason810496
2b001f0761 feat: add startLine and endLine support for codeimporter 2024-06-21 23:48:13 +08:00
Manjunath Mohan
e8dfdfe528 fix: https://github.com/nunocoracao/blowfish/issues/1549 2024-06-19 09:57:27 +05:30
Nuno Coração
cc9ee9d26f Merge pull request #1513 from wermos/minor-improvements
🎨 Improvements to image handling and link handling
2024-06-03 23:21:24 +01:00
wermos
f88923b3ff Fixed the issue of the numbers showing up. 2024-06-03 23:54:49 +05:30
wermos
581aba3359 Be less aggressive in removing newlines. 2024-06-03 22:45:22 +05:30
wermos
bb435aded7 Minified the shortcodes and added handling for SVGs. 2024-06-03 22:34:24 +05:30
Zoe Roux
9dc7940718 Use markdown emojify instead of dump emojify 2024-05-31 12:37:29 +02:00
Nuno Coração
a0dd73975c Merge pull request #1492 from nunocoracao/1112-some-figure-shortcode-attributes-have-no-effect
fixed https://github.com/nunocoracao/blowfish/issues/1112
2024-05-26 22:03:37 +01:00
Nuno Coração
5e0744981d fixed https://github.com/nunocoracao/blowfish/issues/1112 2024-05-26 22:02:28 +01:00
UmmIt
5ac21e9121 Add codeberg shortcode 2024-05-17 09:33:51 +08:00
Nuno Coração
015ebabcab fixed https://github.com/nunocoracao/blowfish/issues/1404 2024-05-13 22:58:20 +01:00
Manjunath Mohan
07d1396986 Added codeimporter shortcode
- updated exampleSite.
2024-05-10 12:11:46 +05:30
samsepi0l
b90b916493 Add player parameters
https://github.com/paulirish/lite-youtube-embed?tab=readme-ov-file#custom-player-parameters
2024-03-22 12:16:30 +01:00
Nuno Coração
40908cb3c3 fixed youtube performance issues and added new shortcut 2024-03-10 11:02:47 +00:00
Nuno Coração
e17c4b6dd6 initial commit for improvements 2024-03-10 10:55:57 +00:00
Nuno Coração
7c0eacf44f fixes and polish on shortcodes 2024-03-06 22:12:58 +00:00
Graeme A Stewart
fdb7bbd3c0 Add target parameter to figure shortcode
Add the "target" parameter to the figure.html shortcode.
If defined then add this target property to the href of the figure,
which allows the link to, e.g., open in a new tab.

Add description of target to docs
2024-03-05 14:05:27 +01:00
Nuno Coração
214d65f076 Carousel doesn't work for local images 2024-02-15 17:51:06 +00:00
Sergio Cambelo
4ec4062494 fix GitLab shortcode link url 2024-02-10 22:08:48 +01:00
Nuno Coração
02bcbb7a12 carousel support for URLs 2024-02-10 18:44:07 +00:00
MaikelChan
9cfc07565c New way to generate UIDs. 2024-01-13 01:24:45 +01:00
Nuno Coração
23bb87b1cf polish keywork shortcode 2024-01-04 21:34:00 +00:00
Nuno Coração
c147af39ca Merge pull request #1136 from alxhslm/keyword-lists
 Keyword shortcode
2024-01-04 21:09:57 +00:00
Nuno Coração
c0285a45ec Merge branch 'dev' into xwjdsh-patch-1 2024-01-04 21:00:45 +00:00
Nuno Coração
d17678b85f Merge pull request #1126 from v20100v/dev
🐛 Shortcodes gallery (non-unique id, multiple loading <script> tag)
2024-01-04 20:58:58 +00:00
Wen Sun
9aa130cd64 Update timelineItem.html
* Add `break-words` to prevent content overflow
2023-12-21 10:56:40 +09:00
Alex Haslam
86dc4b0ade Increase vertical spacing 2023-12-20 16:02:45 +00:00
Alex Haslam
46c1199289 Fix issue which can arise with formatting 2023-12-20 15:01:25 +00:00
Alex Haslam
3e81805971 Don't put margin around each keyword 2023-12-20 15:01:03 +00:00
Alex Haslam
2791cc7cb9 Pass icon as keyword argument to shortcode 2023-12-20 13:53:50 +00:00