{"id":16578906,"url":"https://github.com/fritx/markppt","last_synced_at":"2025-03-02T13:09:44.652Z","repository":{"id":30000087,"uuid":"33547612","full_name":"fritx/markppt","owner":"fritx","description":"一篇markdown，一份ppt。","archived":false,"fork":false,"pushed_at":"2024-08-28T04:15:19.000Z","size":3653,"stargazers_count":35,"open_issues_count":5,"forks_count":6,"subscribers_count":5,"default_branch":"dev","last_synced_at":"2025-02-19T02:13:42.551Z","etag":null,"topics":["markdown","nodejs","ppt","slides","web"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/markppt","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fritx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2015-04-07T14:19:23.000Z","updated_at":"2025-02-06T14:33:08.000Z","dependencies_parsed_at":"2024-10-26T20:29:03.891Z","dependency_job_id":"09df1ba6-0030-4444-951c-500c99879aa3","html_url":"https://github.com/fritx/markppt","commit_stats":{"total_commits":58,"total_committers":3,"mean_commits":"19.333333333333332","dds":0.1724137931034483,"last_synced_commit":"8ed3d6c2140a59b9e11361bf7c393ee47aae5fbb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritx%2Fmarkppt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritx%2Fmarkppt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritx%2Fmarkppt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritx%2Fmarkppt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fritx","download_url":"https://codeload.github.com/fritx/markppt/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241509653,"owners_count":19974072,"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","nodejs","ppt","slides","web"],"created_at":"2024-10-11T22:16:08.132Z","updated_at":"2025-03-02T13:09:44.626Z","avatar_url":"https://github.com/fritx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# markppt\n\n\u003ca href=\"http://badge.fury.io/js/markppt\"\u003e\u003cimg src=\"https://badge.fury.io/js/markppt.svg\" alt=\"npm version\" height=\"20\"\u003e\u003c/a\u003e\n\u0026nbsp;\u0026nbsp;\u003ca href=\"http://badge.fury.io/gh/fritx%2Fmarkppt\"\u003e\u003cimg src=\"https://badge.fury.io/gh/fritx%2Fmarkppt.svg\" alt=\"GitHub version\" height=\"20\"\u003e\u003c/a\u003e\n\u0026nbsp;\u0026nbsp;\u003ca href=\"https://gitter.im/fritx/markppt?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge\"\u003e\u003cimg src=\"https://badges.gitter.im/Join%20Chat.svg\" alt=\"Join the chat at https://gitter.im/fritx/markppt\" height=\"20\"\u003e\u003c/a\u003e\n\n\u003cimg width=\"161\" src=\"https://blog.fritx.me/p/projects/markppt/screenshots/20150901234930.png\"\u003e\u0026nbsp;\u0026nbsp;\u003cimg width=\"320\" src=\"https://blog.fritx.me/p/projects/markppt/screenshots/20150901235103.png\"\u003e\u0026nbsp;\u0026nbsp;\u003cimg width=\"140\" src=\"https://blog.fritx.me/p/projects/markppt/artwork/icon_400x400.png\"\u003e\n\n\u003cimg width=\"320\" src=\"https://blog.fritx.me/p/projects/markppt/screenshots/20150901233430.png\"\u003e\u0026nbsp;\u0026nbsp;\u003cimg width=\"320\" src=\"https://blog.fritx.me/p/projects/markppt/screenshots/20150901233453.png\"\u003e\n\n## 一篇markdown，一份ppt。\n\n- 一个读取markdown文件，生成网页slides/ppt的工具\n- 很多时候，我们用markdown来书写我们的人生\n- 很多时候，我们需要有一份ppt来向世界分享观点\n- 网页实现，处处发布，随机背景色，css3动画切换\n- 超响应式布局，自动缩放，不再畏惧屏幕尺寸\n- 智能无缝分页匹配，无需更改markdown原文\n\n点击查看演示\n\n- [node.js技术交流会 (dark)](http://fritx.github.io/markppt/nodejs-talk/)\n- [gulp-eol bug之总结 (bright)](http://fritx.github.io/markppt/gulpeol/gulp-eol-bug.html)\n- [My Talk (bright)](http://fritx.github.io/markppt/mytalk/talk.html)\n- [Kid.js (light)](http://fritx.github.io/markppt/kidjs/kidjs.html)\n\n```plain\n$ npm i -g markppt   # 从npm安装\n$ markppt mytalk/talk.md   # markdown路径\n$ markppt mytalk/talk.md --theme=light   # 指定css主题\n$ markppt mytalk/talk.md --theme=bright   # 默认取dark\n$ markppt mytalk/talk.md --color=green   # 指定主色调\n```\n\n将会在[原目录](https://github.com/fritx/markppt/tree/master/examples/mytalk/)\n\n```plain\n- mytalk/\n  - Desert.jpg\n  - talk.md\n```\n\n生成`ppt_`文件夹，和一份`talk.html`，打开即可[浏览ppt](http://fritx.github.io/markppt/mytalk/talk.html)\n\n```plain\n- mytalk/\n  - ppt_/ (√)\n  - Desert.jpg\n  - talk.md\n  - talk.html (√)\n```\n\n常见问题解答\n\n- [运行无报错输出，但是打开html空白 #8](https://github.com/fritx/markppt/issues/8)\n\n高级功能：支持url参数指定任意md路径（自带内容审查机制，不合规则跳转Oops..）\n\n```sh\n$ markppt index.md --arbitrary   # index.md为默认页面 文件不存在也ok\n# 然后可指定任意md路径，如 http://xxx/?url=xxx/talk.md\n# 或其他绝对路径，如 http://xxx/?url=https://raw.githubusercontent.com/fritx/markppt/dev/examples/mytalk/talk.md\n# 或 http://xxx/?url=https://fastly.jsdelivr.net/gh/fritx/markppt@dev/examples/mytalk/talk.md\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffritx%2Fmarkppt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffritx%2Fmarkppt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffritx%2Fmarkppt/lists"}