Comments (10)
from hugo-theme-diary.
hh,感谢!
from hugo-theme-diary.
Hi, swhhy.
Do you have a demo page to show me that?
Or how to reproduce this issue?
from hugo-theme-diary.
@AmazingRise
https://swhhy.github.io/
请您看看,就那个markdown的ToC有一两行, 其他的都是空的。
from hugo-theme-diary.
能否贴上这个Markdown的全部源码?我这边测试了一下三级标题,还是没法复现
谢谢
from hugo-theme-diary.
好的,我有空调查一下问题原因。最近比较忙,可能要过几天,新的进展我会在此告知。
你可以通过下面链接中所说的办法禁用auto collapse功能,以保证博客目录正常显示,不会被折叠:
https://github.com/AmazingRise/hugo-theme-diary/wiki/Table-Of-Contents#disable-toc-auto-collapse
from hugo-theme-diary.
谢谢您百忙之中抽空回复,因为这并不影响主题的整体使用,所以您大可有空再帮助我。BTW,我试过使用 disableAutoCollapse = true
,但仍然出现了之前的问题。
from hugo-theme-diary.
谢谢您百忙之中抽空回复,因为这并不影响主题的整体使用,所以您大可有空再帮助我。BTW,我试过使用
disableAutoCollapse = true
,但仍然出现了之前的问题。
感谢反馈,最新的commit修复了没法disableAutoCollapse的问题。
但关于此issue的问题仍在调查。
from hugo-theme-diary.
在最新的版本中,我发现ToC只能显示markdown文本的第一行和标题<h1>
-<h6>
(无论标题在文本的什么位置),希望这能帮到你。
from hugo-theme-diary.
在最新的版本中,我发现ToC只能显示markdown文本的第一行和标题
<h1>
-<h6>
(无论标题在文本的什么位置),希望这能帮到你。
是的 因为我上次推的是Fix disableAutoCollapse
。
Hi, thanks for your themegrinning! and for the issue : my blog is writted in the format of Markdown, but the ToC is empty. Just shows "-CATALOG-", and nothing else.
这个问题已经修复,是对折叠全部目录的判断
有问题。
本地测试通过了,劳烦你那边测试一下,谢谢。
(我提交commit的时候写了#54,然后GitHub自动关了...太尴尬了)
This issue has been fixed. The bug is caused by misjudgement of collapsing all classes
.
from hugo-theme-diary.
Related Issues (20)
- 是否可以考虑使用此字体 HOT 1
- 夜间模式下看不见表格内容 HOT 2
- images not displaying HOT 2
- Dark mode refactor HOT 4
- Single quote is replaced with ’ HOT 6
- How to add RSS feed? I don't understand where to add rss link. HOT 3
- Google Analytics 4 will be replaced by Universal Analytics HOT 3
- Way to remove the darkmode toggle? HOT 1
- The About page appears on the homepage article list HOT 2
- <br> new line is not supported in this theme? HOT 1
- Summary feature required
- Can you add Artalk comment function?
- Language meta label and <h1> needed for better SEO HOT 2
- Drawers are not hidden when clicking ToC items on mobile view. HOT 1
- Fix highlighting
- 作者能麻烦您考虑一下加上视频播放功能吗 HOT 1
- URL for Tags does not seem to use baseURL
- error calling Paginator: pagination not supported for this page HOT 5
- iOS safari scrolls pages upwards / incorrect css syntax when headlines are used? HOT 2
- can't deploy site with vercel.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-theme-diary.