{"id":20188702,"url":"https://github.com/xitu/juejin-markdown-themes","last_synced_at":"2025-04-04T10:03:09.679Z","repository":{"id":37038165,"uuid":"302824552","full_name":"xitu/juejin-markdown-themes","owner":"xitu","description":"Markdown themes of https://juejin.cn/","archived":false,"fork":false,"pushed_at":"2024-03-29T12:35:56.000Z","size":146,"stargazers_count":241,"open_issues_count":24,"forks_count":87,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-28T09:02:53.875Z","etag":null,"topics":["markdown","markdown-themes"],"latest_commit_sha":null,"homepage":"https://juejin-markdown-themes.netlify.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xitu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-10T05:43:09.000Z","updated_at":"2025-03-26T04:48:17.000Z","dependencies_parsed_at":"2023-12-13T07:24:15.262Z","dependency_job_id":"92bd8f4c-c17b-4f69-820f-f0ae30619ab0","html_url":"https://github.com/xitu/juejin-markdown-themes","commit_stats":{"total_commits":158,"total_committers":33,"mean_commits":4.787878787878788,"dds":0.5506329113924051,"last_synced_commit":"fffb07bc4b60dc8afc337db67c96ea1c5b51bec8"},"previous_names":[],"tags_count":55,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xitu%2Fjuejin-markdown-themes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xitu%2Fjuejin-markdown-themes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xitu%2Fjuejin-markdown-themes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xitu%2Fjuejin-markdown-themes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xitu","download_url":"https://codeload.github.com/xitu/juejin-markdown-themes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247150050,"owners_count":20892070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["markdown","markdown-themes"],"created_at":"2024-11-14T03:30:19.243Z","updated_at":"2025-04-04T10:03:09.650Z","avatar_url":"https://github.com/xitu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 掘金 Markdown 主题\n\n[![npm](https://badgen.net/npm/v/juejin-markdown-themes)](https://npm.im/juejin-markdown-themes) [![downloads](https://badgen.net/npm/dt/juejin-markdown-themes)](https://npm.im/juejin-markdown-themes)\n\n[主题预览地址](https://juejin-theme.netlify.app/)\n\n## 使用方法\n\n在文章内容前加上 [front matter](https://jekyllrb.com/docs/front-matter/) 格式的元信息：\n\n```yaml\n---\ntheme: juejin # Markdown 主题，默认值：juejin\nhighlight: juejin # 代码高亮主题，默认值：theme 中指定，没有则默认为 juejin\n---\n```\n\n### Markdown 主题\n\n使用 `theme` 指定主题\n\n#### 内置主题\n\n| 主题                                                            | License |\n| --------------------------------------------------------------- | ------- |\n| [juejin](https://github.com/xitu/juejin-markdown-theme-default) | MIT     |\n| [github](https://github.com/sindresorhus/github-markdown-css)   | MIT     |\n\n#### 社区主题\n\n| 主题 | 作者 | License |\n| --- | --- | --- |\n| [smartblue](https://github.com/cumt-robin/juejin-markdown-theme-smart-blue) | [Tusi](https://juejin.cn/user/2752832847753085) | MIT |\n| [cyanosis](https://github.com/linxsbox/juejin-markdown-theme-cyanosis) | [林小帅](https://juejin.cn/user/3175045313873943) | MIT |\n| [channing-cyan](https://github.com/ChanningHan/juejin-markdown-theme-channing-cyan) | [ChanningHyl🙌](https://juejin.cn/user/2101921963839678) | MIT |\n| [fancy](https://github.com/xrr2016/juejin-markdown-theme-fancy) | [冷石 Boy](https://juejin.cn/user/835284564445415) | MIT |\n| [hydrogen](https://github.com/DawnLck/juejin-markdown-theme-hydrogen) | [DawnLck 在掘金](https://juejin.cn/user/1028798614345032) | MIT |\n| [condensed-night-purple](https://github.com/Geekhyt/condensed-night-purple) | [童欧巴](https://juejin.cn/user/3491704662669469) | MIT |\n| [greenwillow](https://github.com/wangly19/juejin-markdown-theme-greenwillow) | [wangly19](https://juejin.cn/user/4248168660735310) | MIT |\n| [v-green](https://github.com/DawnLck/juejin-markdown-theme-v-green) | [DawnLck 在掘金](https://juejin.cn/user/1028798614345032) | MIT |\n| [vue-pro](https://github.com/dunizb/juejin-markdown-themes) | [杭州程序员张张](https://juejin.cn/user/289926798645575) | MIT |\n| [healer-readable](https://github.com/dunizb/juejin-markdown-theme-healer-readable) | [healer](https://juejin.cn/user/1415826709689208) | MIT |\n| [mk-cute](https://github.com/Jacky-Summer/juejin-markdown-theme-mk-cute) | [JackySummer](https://juejin.cn/user/1257497033714477) | MIT |\n| [jzman](https://github.com/jzmanu/juejin-markdown-theme-jzman) | [躬行之](https://juejin.cn/user/3526889030301325) | MIT |\n| [geek-black](https://github.com/MageeLin/juejin-markdown-theme-geek-black) | [林景宜](https://juejin.cn/user/404232342875966) | MIT |\n| [awesome-green](https://github.com/luffyZh/juejin-markdown-theme-awesome-green) | [luffyZh](https://juejin.cn/user/96412752681079) | MIT |\n| [orange](https://github.com/RudeCrab/juejin-markdown-theme-rude-crab) | [RudeCrab](https://juejin.cn/user/2541726616796878) | MIT |\n| [scrolls](https://github.com/daodaolee/juejin-markdown-theme-scrolls) | [道道里](https://juejin.cn/user/166781497122039) | MIT |\n| [simplicity-green](https://github.com/GuoJikun/juejin-markdown-theme-simplicity-green) | [Jason_Guo](https://juejin.cn/user/3878732751188845) | MIT |\n| [arknights](https://github.com/viewweiwu/juejin-markdown-theme-arknights) | [viewweiwu](https://juejin.cn/user/712139263452503) | MIT |\n| [vuepress](https://github.com/promise96319/juejin-markdown-theme-vuepress) | [qgh](https://juejin.cn/user/3685218708627544) | MIT |\n| [Chinese-red](https://github.com/mancuoj/juejin-markdown-theme-Chinese-red) | [Mancuoj](https://juejin.cn/user/3466105460624760) | MIT |\n| [nico](https://github.com/blllld/juejin-markdown-theme-nico) | [非思不可](https://juejin.cn/user/553809588523405) | MIT |\n| [devui-blue](https://github.com/kagol/juejin-markdown-theme-devui-blue) | [DevUI团队](https://juejin.cn/user/712139267650141) | MIT |\n| [qklhk-chocolate](https://github.com/qklhk/juejin-markdown-theme-qklhk/) | [巧克力很苦](https://juejin.cn/user/1011206429358087) | Apache |\n| [serene-rose](https://github.com/Krue1/juejin-markdown-theme-serene-rose) | [Krue](https://juejin.cn/user/1143110510329256) | MIT |\n| [z-blue](https://github.com/sheng1998/juejin-markdown-theme-z-blue) | [z_](https://juejin.cn/user/4212984289441422) | MIT |\n| [minimalism](https://github.com/justnewbee/juejin-markdown-theme-minimalism) | [驳是](https://juejin.cn/user/442445375748621) | MIT |\n| [koi](https://github.com/Henrycheheng/juejin-markdown-theme-koi) | [koi](https://juejin.cn/user/1284683727647950) | MIT |\n| [yu](https://github.com/jianghurong/juejin-markdown-theme-yu) | [荣易](https://juejin.cn/user/2400989124501549) | MIT |\n| [lilsnake](https://github.com/SnakeLil/juejin-markdown-theme-lilsnake) | [小蛇](https://juejin.cn/user/187347597270411) | MIT |\n| [keepnice](https://github.com/yangbo5207/juejin-markdown-theme-keepNice) | [这波能反杀](https://juejin.cn/user/2541726582702238) | MIT |\n\n\n### 代码高亮\n\n使用 `highlight` 指定主题，可以使用 [highlight.js](https://github.com/highlightjs/highlight.js) 中的所有样式：\n\n- [样式列表](https://github.com/highlightjs/highlight.js/tree/master/src/styles)\n- [样式预览](https://highlightjs.org/static/demo/)\n\n## 如何贡献 Markdown 主题\n\n1. 使用[默认模板](https://github.com/xitu/juejin-markdown-theme-default)创建一个公开的仓库（点击绿色的 Use this template 按钮）\n2. 将其中的 `juejin.scss` 替换为自己创作的样式，目前支持 Sass，Less 和 CSS\n3. 使用[主题开发工具](https://github.com/linxsbox/juejin-theme-devtool)在本地预览主题效果\n4. Fork 此仓库并克隆到本地，在 `themes.js` 文件中指明样式文件的路径，`ref` 为 commit hash，`highlight` 为默认的代码高亮主题（可选）①\n5. 在 `README.md` 中「社区主题」章节中添加你的主题和作者信息\n6. 提交 pull request (注意：commit 信息要使用 'feat: ' 和 'fix: ' 形式，否则无法触发自动化发布流程)\n7. 提交 PR 前请 rebase，确保 commit 记录的整洁\n8. 如果是修复样式 bug，请在 PR 中给出明确的描述信息\n9. 注意考虑样式的稳定性和兼容性\n10. **并非所有 PR 的主题都会入选，挑选和审核会有一定周期**\n\n### ① themes.js 格式说明\n\n```js\n  cyanosis: { // 主题名称\n    owner: 'linxsbox', // 作者 github 用户名\n    repo: 'juejin-markdown-theme-cyanosis', // 主题仓库名\n    path: 'cyanosis.scss', // 主题文件 - 与主题同名\n    ref: '6b814ea', // commit hash\n    highlight: 'atom-one-dark', // 代码高亮样式名 - 默认 juejin\n  }, // 注意格式别忘了逗号\n```\n\n## License\n\n## 联系官方\n\n微信：zwcatfly 或者微信： chnyifan\n\n![middle_img_v2_76ee7552-1a63-41df-900d-5fbefe5a69ag](https://user-images.githubusercontent.com/8282645/139875601-f0f3477d-a03a-4acf-ac8d-7204d4f5bc04.jpg)\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxitu%2Fjuejin-markdown-themes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxitu%2Fjuejin-markdown-themes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxitu%2Fjuejin-markdown-themes/lists"}