mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 23:38:56 +00:00
0ce74d82f8
* ✨ Feat: add support for math passthrough render hook * ✨ Feat: enable copy-tex extension for KaTeX server-side render * ✨ Feat: enhance mathematical rendering support with KaTeX and MathJax configurations * ✨ Feat: add KaTeX error handling and custom macros map config * ✨ Feat: add MathJax client-side rendering as an alternative math engine * ✨ Feat: update MathJax CDN configuration and enhance asset loading parameters * 🔥 Feat: remove unused KaTeX math rendering scripts and update KaTex * ✨ Feat: make \KaTeX command work in MathJax * ✨ Feat: update KaTeX CDN links for Twikoo integration * ⚡ Perf: Math in content encryption * 🐛 Fix: update class name from 'fi-row' to 'fi-raw' in raw.html shortcode * 🐛 Fix: correct MathJax math delimiters in load-mathjax.js * ✨ Feat: enhance MathJax configuration with additional tex parameters and update asset handling * 🐛 Fix: adjust KaTeX display overflow behavior
4 lines
135 B
HTML
4 lines
135 B
HTML
|
|
{{- $tag := .Get "tag" | default (.Get 0) | default "div" -}}
|
|
{{- printf `<%v class="fi-raw">%v</%v>` $tag .Inner $tag | safeHTML -}}
|