Commit Graph

38 Commits (ecbe879801f8ff2829c028a7bad9f39d9a06233e)

Author SHA1 Message Date
Alex Shpak a111041867 #583, fix katex and mermaid examples with raw html 2024-02-17 18:57:02 +01:00
Andreas Deininger 5e15ddb4f4
Fix typos (#575) 2024-01-10 12:40:24 +01:00
Alex Shpak 3f1bcccbfb #543, Add summary param for section shortcode 2023-08-08 13:39:20 +02:00
Alex Shpak 0cde2e461d #370: Allow markdown in details shortcode, also change markdownify to RenderString in other shortcodes 2021-08-30 14:32:11 +02:00
逊狼 92d97049cf
issues 362 (#364)
* 🐞 fix issues 352

Solve this problem:
https://github.com/alex-shpak/hugo-book/issues/352

The Reason:
https://github.com/gohugoio/hugo/issues/8688

* fix issues 362

https://github.com/alex-shpak/hugo-book/issues/362

* Revert "🐞 fix issues 352"

This reverts commit 58f8935d1e.

* Revert "Revert "🐞 fix issues 352""

This reverts commit fa0d46ccf5.

* fix issues 362

* Update columns.html

* Revert "Revert "Revert "🐞 fix issues 352"""

This reverts commit 79777a9e84.

Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2021-07-20 16:20:43 +02:00
Alex Shpak 553d378db3 Fix lighthouse remarks: icon sizes, noopener 2021-05-20 19:00:15 +02:00
Alex Shpak f4a26ff3da Imporove sectiopn shortcode example 2021-05-03 22:59:33 +02:00
Nikolay Raspopov 27c1791144
Let's enable markdown in the button title (#308)
Added " | markdownify" to the inner text of button.
2021-02-19 11:55:53 +01:00
Alex Shpak 8f64ee74aa #204, Add mermaid config customization, upgrade mermaidjs 2020-08-16 18:57:43 +02:00
Alex Shpak bf93dafdfa Improve accessibility and keyboard navigation 2020-07-07 23:06:21 +02:00
Alex Shpak b8b7184e89 Add section shortcode, to render children 2020-05-31 00:18:25 +02:00
Alex Shpak 5be250b0e2 #207, Fix whitespaces again, in shortcodes inside shortcodes 2020-04-24 10:29:23 +02:00
Alex Shpak 66968582ef #205, Add details shortcode 2020-04-21 22:30:00 +02:00
Alex Shpak e4e43bd9b1 Refactor KaTeX shortcode, remove whitespaces and fix font size 2020-04-11 20:05:43 +02:00
Alex Shpak 831e570f16 Fix mermaid scaling for flowchart 2020-03-30 17:59:29 +02:00
Alex Shpak 976f619b2f Update mermaid to 8.4.8, move KaTeX to static folder 2020-03-23 20:40:53 +01:00
Alex Shpak 5296ba3d38 Clean trailing whitespaces 2020-03-07 18:51:24 +01:00
Alex Shpak 7df4251b72 #169, Remove whitespaces around content in tabs, just to be safe. 2020-03-07 13:37:40 +01:00
Alex Shpak 08519158f4 #153, Remove extra spaces in generated tabs html 2020-02-25 21:16:49 +01:00
Alex Shpak ba5d38ad44 Rework of main template, adds options for more fine customisation 2020-01-24 00:07:56 +01:00
Alex Shpak 9fa444757a #117, Update KaTeX shortcode, add displayMode param 2020-01-13 19:05:54 +01:00
Alex Shpak 5af2b92f00 #106, Upgrade to hugo 0.60 2019-12-01 14:54:47 +01:00
Alex Shpak 1f8d34168f #77, Introduce hint shortcode 2019-10-03 18:15:24 +02:00
Paul Twohey 964968be39 use class="hidden" instead of creating new classes
Use class "hidden" instead of styled classes to ensure that input elments stay
hidden when the Content-Security-Policy header has "style-src 'self';"
2019-09-01 20:51:15 +02:00
Paul Twohey 99bd271b35 fix expand and tabs shortcodes to work with strict Content-Security-Policy
When the Content-Security-Policy header has "style-src 'self';"
inine style elements like style="display: none" are not honored
by browsers, so add CSS to the markup classes and style them
display: none
2019-09-01 20:51:15 +02:00
Alex Shpak 8f1cdb6aee #61, Remove need for $$ in katex shortcode 2019-08-23 13:23:06 +02:00
Alex Shpak 185e52d2f6 #61, Add katex shortcode 2019-08-23 00:01:14 +02:00
Alex Shpak 72294f3b6e Remove outdated paragraph from tabs shortcode 2019-06-19 14:56:48 +02:00
Alex Shpak c679f74cff Make columns shortcode mobile friendly 2019-06-18 23:20:29 +02:00
Alex Shpak c9d979514c Add custom class support for mermaid and button shortcodes 2019-06-11 13:41:08 +02:00
Alex Shpak fa4e8634c5 Remove flex from mermaid chart 2019-06-10 15:10:00 +02:00
Alex Shpak a299a4b07b #39, Add button shortcode 2019-05-27 18:25:58 +02:00
Alex Shpak 6d64cc708e Remove extra spacing around columns view 2019-05-27 12:54:31 +02:00
Alex Shpak edf5b466e1 Update screenshots, clean tabs shortcode 2019-05-24 14:50:25 +02:00
Alex Shpak 9f90c40517 #39, Finish tabs shortcode 2019-05-23 17:48:30 +02:00
Alex Shpak 5437521798 #39, Finish columns shortcode, clean scss 2019-05-23 16:30:26 +02:00
Alex Shpak c80bd79dcd #39, Add multi-column shortcode 2019-05-22 16:17:55 +02:00
Alex Shpak 0e6864f5aa #39, Add expand and tabs shortcodes 2019-05-22 14:37:55 +02:00