Skip to content
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

以github issues來建立blog或comments,並在pages上顯示 #1

Open
twtw opened this issue Dec 26, 2017 · 1 comment
Open

以github issues來建立blog或comments,並在pages上顯示 #1

twtw opened this issue Dec 26, 2017 · 1 comment
Labels

Comments

@twtw
Copy link
Owner

twtw commented Dec 26, 2017

此篇文裡 博客引擎 列舉多個利用 github issues 來做 blog 的專案。

利用 github issues 作為 blog 的 comments 有以下幾篇:

參考 github-issues-blog 的程式碼,得知:
獲標題 List issues for a repository
https://api.github.com/repos/"+_config['owner']+"/"+_config['repo']+"/issues
獲詳細內容 Get a single issue
https://api.github.com/repos/"+_config['owner']+"/"+_config['repo']+"/issues/" + id
若想從第三方來產生新的issues Create an issue

利用 marked 把 markdown 顯示成 html。

可建立 issues 的 template 相關收集

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant