Qiita API Library for emacs
(require 'qiita) ;; option ;; Used features that require authentication. (setq qiita->token "xxxxxxxxxxx")
Command | Result | Note |
---|---|---|
M-x qiita:items | Activities | |
C-u M-x qiita:items | My activities | Authentication Required |
M-x qiita:user-items USER | USER activities | |
M-x qiita:my-stocks | My stock activities | Authentication Required |
M-x qiita:user-stocks USER | USER stock activities |
Command | Result |
---|---|
M-x qiita:tags | Tags |
Command | Result |
---|---|
M-x qiita:search KEYWORD | Search results |
This features requires authentication.
- Exec View activities functions (eg.
M-x qiita:items
) - Enter the <TAB> on the item you want to stock/unstock
- Select “Stock” or “Unstock” and Enter the <ENTER>
- Exec View activities functions (eg.
M-x qiita:items
) - Enter the <TAB> on the item you want to stock/unstock
- Select “Open” and Enter the <ENTER>
- Item is opened, run
M-x qiita:stock
orM-x qiita:unstock
- Title
# title
or
title =====
- Tags
<!-- tags hoge,fuga -->
So, set tag “hoge” and “fuga”
- Open new buffer
markdown-mode
- Input item. example..
qiita-el テスト投稿 ==================== みなさまお疲れ様です。 <!-- tags Emacs,Ruby --> <!-- uuid ee796188dc4945769282 --> [gongo/qiita-el · GitHub](https://github.com/gongo/qiita-el) - List1 - List2 - List3 1. hoge 1. hoge1 2. fuga 1. fuga2 3. hago 1. hago1 1. hago2 1. hago3 ```c #include <stdio.h> int main(void) { printf("Hello, World!!"); } ``` ```ruby p 'Hello, Wo\'rld!' ``` > 1 > 2 > 3
- Run under functions
Command Result M-x qiita:post
Post private item C-u M-x qiita:post
Post public item - Posted (example http://qiita.com/gongo/private/ee796188dc4945769282 )
- Input
<!-- uuid xxxxx -->
- run
M-x qiita:post
orC-u M-x qiita:post
So, Update uuid=xxxx item.
MIT License