mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 23:38:56 +00:00
50488dfb51
* 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
474 B
474 B
title, date, collections, categories, tags
| title | date | collections | categories | tags | ||||
|---|---|---|---|---|---|---|---|---|
| Custom Script & Style Test | 2025-09-16T09:57:28+08:00 |
|
|
|
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 >}}