Closed katopway closed 4 years ago
I'll have a look.
Same here: Error: Syntax error, unrecognized expression: #1-introducci%c3%b3n all.js:1750:8
Yes, I debugged it down to some JS line, but my 10 minutes spent on this didn't find a fix ...
If it can helps, in commit f2cb5423932c3542077daa77e24b4aa4effd6ff8 works for me.
I have added a fix for this. Note that for this fix to work you need Hugo >= 0.61 and the Goldmark markdown renderer (default).
When language of the doc is switched to other languages like Chinese, or Norwegian like in the example site, the
h2
items in TOC can not be expanded or collapsed automatically while scrolling the doc page, or being displayed when clicking on anyh1
items with children.Is there any way to make it work in other languages?