Xin

Results 162 comments of Xin

Hi @oosquare thanks for the report! to clarify, the server-side rendering introduced in #589 uses [MathML](https://developer.mozilla.org/en-US/docs/Web/MathML) output, which _should_ render correctly without requiring KaTeX fonts or CSS. According to MDN,...

@oosquare Thanks for the detailed explanation. I was already aware that PR #589 used the [htmlAndMathml option](https://github.com/imfing/hextra/blob/83fda0109f55a16476bd404cf00b75784095d1da/layouts/_default/_markup/render-passthrough.html#L1), which is [recommended by Hugo](https://gohugo.io/functions/transform/tomath/#output). What confused me was that I couldn’t reproduce...

Yeah, it was mainly implemented for Markdown, so didn't get chance to fully test in for other file formats. A stopgap here would be disabling ToC for AsciiDoc documents, so...

The screenshot suggests that the `sidebar-toc` was the culprit. You can override the sidebar partial template to remove the references. Or I can put a quick fix as a stopgap...

this looks like a Hugo issue, since `{{ with $page.Fragments.Headings }}` simply calls the page methods that throws a nil pointer deref error 🤔

> the Docsy theme use lunr, and it works perfectly as expected. @Vonng Lunr.js is no longer actively maintained. the Docsy documentation site itself uses Google Custom Search instead: https://www.docsy.dev/search/?q=search...

hmm it works for me on iOS 18 Safari ![image](https://github.com/user-attachments/assets/ef3a4208-72eb-4363-9e2f-20dcd6ed70d0)

the color of the page looks odd for me. did you use any browser extension like Dark Reader?