xaoxuu / hexo-theme-stellar

内置文档系统的简约商务风Hexo主题,支持大量的标签组件和动态数据组件。
https://xaoxuu.com/wiki/stellar/
MIT License
1.19k stars 303 forks source link

Markdown多级列表 二级列表及以下均不显示code背景色 #495

Open Amia33 opened 1 week ago

Amia33 commented 1 week ago

检查清单

问题描述

Markdown code ```markdown - **`errors`** {% mark array[object] color:light %} {% mark Required color:red %} - **`code`** {% mark integer color:light %} {% mark Required color:red %} `>= 1000` > This line < - **`message`** {% mark string color:light %} {% mark Required color:red %} - **`messages`** {% mark array[string] color:light %} {% mark Required color:red %} - **`result`** {% mark object or null color:light %} {% mark Required color:red %} Allowed values: `null` - **`success`** {% mark boolean color:light %} {% mark Required color:red %} Whether the API call was successful Allowed value: `false` Example: `false` ```
/config.yml ```yaml highlight: auto_detect: false exclude_languages: - 'plaintext' hljs: false line_number: true ## Note: tried issue#296 but not working either line_threshold: 0 tab_replace: '' wrap: true syntax_highlighter: 'highlight.js' ```

Expected (VScode Preview):

vscode Running theme v1.29.0:

theme