Jacky-Summer / juejin-markdown-themes

Markdown themes of https://juejin.cn/

Home Page:https://xitu.github.io/juejin-markdown-themes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

掘金 Markdown 主题

预览:https://xitu.github.io/juejin-markdown-themes/

使用方法

在文章内容前加上 front matter 格式的元信息:

---
theme: juejin # Markdown 主题,默认值:juejin
highlight: juejin # 代码高亮主题,默认值:theme 中指定
---

Markdown 主题

使用 theme 指定主题

内置主题

社区主题

主题 作者 License
smartblue Tusi MIT
cyanosis 林小帅 MIT
channing-cyan ChanningHyl🙌 MIT
fancy 冷石 Boy MIT
hydrogen DawnLck 在掘金 MIT
condensed-night-purple 童欧巴 MIT
greenwillow wangly19 MIT
v-green DawnLck 在掘金 MIT
vue-pro 杭州程序员张张 MIT
healer-readable healer MIT

代码高亮

使用 highlight 指定主题,可以使用 highlight.js 中的所有样式:

如何贡献 Markdown 主题

  1. 使用默认模板创建一个公开的仓库(点击绿色的 Use this template 按钮)
  2. 将其中的 juejin.scss 替换为自己创作的样式,目前支持 Sass,Less 和 CSS
  3. Fork 此仓库并克隆到本地,在 themes.js 文件中指明样式文件的路径,ref 为 commit hash,highlight 为默认的代码高亮主题(可选)
  4. README.md 中「社区主题」章节中添加你的主题和作者信息
  5. 提交 pull request

License

MIT

About

Markdown themes of https://juejin.cn/

https://xitu.github.io/juejin-markdown-themes/

License:MIT License


Languages

Language:JavaScript 63.6%Language:HTML 36.4%