Skip to content

允许每个md文件调用独立的css文件 #1199

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

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

Ebbjik
Copy link

@Ebbjik Ebbjik commented May 11, 2025

让每个md文件可以单独的引用css文件

---
title: Hello World
css: hello
---

像这样添加css字段,就会调用hello.css
css文件放到source/css/目录下

也可以写成css: Hello World
会调用helloWorld.css
创建了转化为驼峰命名的函数

@Ebbjik Ebbjik changed the title Develop 允许每个md文件调用独立的css文件 May 11, 2025
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

Successfully merging this pull request may close these issues.

7 participants