iissnan / iissnan/theme-next-docs
首页文章摘要显示代码行号Bug
- Dominant language
- HTML
- Stars
- 165
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
当我站点设置中开启代码行号:
highlight:
enable: true
line_number: true
并在主题设置中设置自动摘要:
auto_excerpt:
enable: true
length: 150
那么要出现一个问题,在首页生成的文件摘要会出现摘要显示为一串数字,应该是代码行号:
发表于 2017-03-17 | 分类于 JAVA
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051import java.util.*;class Fruit { public String t ...
阅读全文 »
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with highlight.line_number and auto_excerpt enabled, then inspect the homepage article-summary rendering and how highlighted code is included in the excerpt. Done means the homepage summary no longer displays code line numbers while the reported article content remains available as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100