Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

目录图标如何设置 #1281

Closed
luguosong opened this issue Apr 16, 2024 · 1 comment
Closed

目录图标如何设置 #1281

luguosong opened this issue Apr 16, 2024 · 1 comment

Comments

@luguosong
Copy link

image

想请问一下material主题左侧目录的图标是如何配置的,找了半天没找到在哪里配置

@krahets
Copy link
Owner

krahets commented Apr 17, 2024

Hi,在 markdown 文件头添加:

---
icon: material/map-marker-path
---

即可。以上图标是一个例子,其他图标可在 mkdocs-material 官网搜索

@krahets krahets closed this as completed Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants