hugo-theme-stack icon indicating copy to clipboard operation
hugo-theme-stack copied to clipboard

the toc can not show Katex

Open 3000ye opened this issue 2 years ago • 4 comments

What happened?

the toc can not show Katex

toc

more info

I use the quick-starter build the site, this is my params.toml:

# 数学支持 KaTex
[article]
math = true
readingTime = true
toc = true

[article.license]
enabled = true
default = "Licensed under CC BY-NC-SA 4.0"

this is my post/xx.md:

---
title: Elegant LaTeX
description: How to elegantly use LaTeX to create
date: 2023-10-09T17:18:55+08:00
image: assets/latex.jpg
math: true
toc: true
categories:
    - Note tools
tags:
    - Latex
---

Hugo version

0.119.0

Theme version

3.20.0

What browsers are you seeing the problem on?

Microsoft Edge

More information about the browser

macos

Relevant log output

No response

Link to Minimal Reproducible Example

https://github.com/3000ye/3000yeBlog

3000ye avatar Oct 09 '23 10:10 3000ye

Have u tried opening with different browser like chrome, firefox

IamRaiden avatar Oct 17 '23 04:10 IamRaiden

Have u tried opening with different browser like chrome, firefox

I tried chrome, still has the bug.

3000ye avatar Oct 19 '23 02:10 3000ye

subscripts cannot show as well

SUZ-tsinghua avatar Jan 20 '24 13:01 SUZ-tsinghua

subscripts cannot show as well

sry,it seems that the usage is different from latex and I've fixed this.

SUZ-tsinghua avatar Jan 20 '24 13:01 SUZ-tsinghua

Fixed now. Thanks for letting me know and sorry for the delay!

CaiJimmy avatar Mar 27 '24 15:03 CaiJimmy