Files
FixIt/apps/test/content/posts/script-style-test.md
T
Cell 50488dfb51 refactor: adjust the loading order and output path of theme resources (#635)
* refactor: update config script handling to support dynamic target paths

* refactor: refactor the output paths of the script and style shortcodes, and add test cases

* fix: remove redundant console log in script-style-test.md and update MathJax and Mermaid plugin configurations in assets.html
2025-09-19 11:37:21 +08:00

474 B

title, date, collections, categories, tags
title date collections categories tags
Custom Script & Style Test 2025-09-16T09:57:28+08:00
Tests
Shortcodes
Script
Style

Testing custom script and style by shortcode in FixIt theme.

Script

{{< script >}} console.log('Hello FixIt!'); {{< /script >}}

See the output in the console of the developer tool.

Style

{{< style "text-align:right; strong{color:#00b1ff;}" >}} This is a right-aligned paragraph. {{< /style >}}