Skip to content

css功能 #1198

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

Closed
wants to merge 1 commit into from
Closed

css功能 #1198

wants to merge 1 commit into from

Conversation

Ebbjik
Copy link

@Ebbjik Ebbjik commented May 11, 2025

添加两行代码
使生成的html可以通过配置引入独立的css文件

使用方法:
在md头部添加css字段

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

css文件放在/source/css/文件夹下
css命名需要是小驼峰命名

以免md头部出现

css:hello World

这样的情况,创建了一个驼峰转换函数


后续看看能不能创建md同时创建符合要求的css文件

添加两行代码
使生成的html可以通过配置引入独立的css文件
@Ebbjik Ebbjik closed this by deleting the head repository 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.

1 participant