{"action":"created","issue":{"url":"https://api.github.com/repos/24OI/OI-wiki/issues/603","repository_url":"https://api.github.com/repos/24OI/OI-wiki","labels_url":"https://api.github.com/repos/24OI/OI-wiki/issues/603/labels{/name}","comments_url":"https://api.github.com/repos/24OI/OI-wiki/issues/603/comments","events_url":"https://api.github.com/repos/24OI/OI-wiki/issues/603/events","html_url":"https://github.com/24OI/OI-wiki/issues/603","id":370188743,"node_id":"MDU6SXNzdWUzNzAxODg3NDM=","number":603,"title":"导出 pdf","user":{"login":"Ir1d","id":10709657,"node_id":"MDQ6VXNlcjEwNzA5NjU3","avatar_url":"https://avatars0.githubusercontent.com/u/10709657?v=4","gravatar_id":"","url":"https://api.github.com/users/Ir1d","html_url":"https://github.com/Ir1d","followers_url":"https://api.github.com/users/Ir1d/followers","following_url":"https://api.github.com/users/Ir1d/following{/other_user}","gists_url":"https://api.github.com/users/Ir1d/gists{/gist_id}","starred_url":"https://api.github.com/users/Ir1d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ir1d/subscriptions","organizations_url":"https://api.github.com/users/Ir1d/orgs","repos_url":"https://api.github.com/users/Ir1d/repos","events_url":"https://api.github.com/users/Ir1d/events{/privacy}","received_events_url":"https://api.github.com/users/Ir1d/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-10-15T14:25:06Z","updated_at":"2018-11-30T14:57:43Z","closed_at":"2018-10-31T06:36:13Z","author_association":"MEMBER","body":"读 https://github.com/e-maxx-eng/e-maxx-eng/issues/320 有感（\r\n\r\n列一下我调研的相关工具吧：\r\n\r\nhttps://github.com/jgrassler/mkdocs-pandoc\r\nhttps://github.com/twardoch/mkdocs-combine\r\nhttps://github.com/shauser/mkdocs-pdf-export-plugin - 貌似数学公式支持的不好\r\n\r\n目前想到几个问题：\r\n\r\n1. 折叠起来的部分要展开\r\n2. 图片要处理好，跑了一下发现好像有的 svg 不能导入进来\r\n3. 不同页面之间的内链要处理好\r\n\r\n\r\nupd:\r\n\r\n经过一段时间的尝试，感觉有两种可行方案\r\n\r\n1. 魔改了一波 mkdocscombine，然后用合成的 md，再调用 chrome 生成 pdf\r\n2. 搞个 pandoc 的模板，现在 mkdocscombine 的输出按理说可以直接导入 pandoc，然而图片一直提示我 `determine size of graphic in (no BoundingBox)`"},"comment":{"url":"https://api.github.com/repos/24OI/OI-wiki/issues/comments/443228678","html_url":"https://github.com/24OI/OI-wiki/issues/603#issuecomment-443228678","issue_url":"https://api.github.com/repos/24OI/OI-wiki/issues/603","id":443228678,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzIyODY3OA==","user":{"login":"Ir1d","id":10709657,"node_id":"MDQ6VXNlcjEwNzA5NjU3","avatar_url":"https://avatars0.githubusercontent.com/u/10709657?v=4","gravatar_id":"","url":"https://api.github.com/users/Ir1d","html_url":"https://github.com/Ir1d","followers_url":"https://api.github.com/users/Ir1d/followers","following_url":"https://api.github.com/users/Ir1d/following{/other_user}","gists_url":"https://api.github.com/users/Ir1d/gists{/gist_id}","starred_url":"https://api.github.com/users/Ir1d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ir1d/subscriptions","organizations_url":"https://api.github.com/users/Ir1d/orgs","repos_url":"https://api.github.com/users/Ir1d/repos","events_url":"https://api.github.com/users/Ir1d/events{/privacy}","received_events_url":"https://api.github.com/users/Ir1d/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T14:57:43Z","updated_at":"2018-11-30T14:57:43Z","author_association":"MEMBER","body":"上传一个粗糙的版本 \r\n[oi-wiki-18.12.pdf](https://github.com/24OI/OI-wiki/files/2633815/oi-wiki-18.12.pdf)\r\n"}}
{"actor":{"display_login":"Ir1d"}}