Coder Social home page Coder Social logo

qiita-el's Introduction

qiita.el

Qiita API Library for emacs

Requirement

Usage

(require 'qiita)
 
;; option
;;   Used features that require authentication.
(setq qiita->token "xxxxxxxxxxx")

How

View

activities

CommandResultNote
M-x qiita:itemsActivities
C-u M-x qiita:itemsMy activitiesAuthentication Required
M-x qiita:user-items USERUSER activities
M-x qiita:my-stocksMy stock activitiesAuthentication Required
M-x qiita:user-stocks USERUSER stock activities

Tags

CommandResult
M-x qiita:tagsTags

Search

CommandResult
M-x qiita:search KEYWORDSearch results

Stock/Unstock

This features requires authentication.

On list view

  1. Exec View activities functions (eg. M-x qiita:items)
  2. Enter the <TAB> on the item you want to stock/unstock
  3. Select “Stock” or “Unstock” and Enter the <ENTER>

On item view

  1. Exec View activities functions (eg. M-x qiita:items)
  2. Enter the <TAB> on the item you want to stock/unstock
  3. Select “Open” and Enter the <ENTER>
  4. Item is opened, run M-x qiita:stock or M-x qiita:unstock

Post (Create)

Rule

  • Title
    # title
        

    or

    title
    =====
        
  • Tags
    <!-- tags hoge,fuga -->
        

    So, set tag “hoge” and “fuga”

Example

  1. Open new buffer markdown-mode
  2. 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
        
  3. Run under functions
    CommandResult
    M-x qiita:postPost private item
    C-u M-x qiita:postPost public item
  4. Posted (example http://qiita.com/gongo/private/ee796188dc4945769282 )

Put (Update)

  1. Input <!-- uuid xxxxx -->
  2. run M-x qiita:post or C-u M-x qiita:post

So, Update uuid=xxxx item.

License

MIT License

qiita-el's People

Contributors

gongo avatar yasuyk avatar

Stargazers

phigasui avatar im_tan avatar Yuki Tanaka avatar hidemail avatar Zak B. Elep avatar Daigo Sakamoto avatar naosuke avatar Satoshi Namai avatar Daegwon Nacyot Kim avatar Ken’ichiro Oyama avatar Shinichirow KAMITO avatar Yoshihide Chubachi avatar g.uehara avatar enkunkun avatar Munenori TAKEI avatar Ayahiko Niimi avatar Ryosuke Yabuki avatar hara_yu avatar Tetsuya Higashi avatar Takuya Mannami avatar

Watchers

James Cloos avatar  avatar

Forkers

hee igktr

qiita-el's Issues

Tags completion

I think tags completion is must need to write qiita posts.

qiita:items で stock済み情報を載せる

qiita:items から stock/unstock を可能にした ( #8 #9 ) が

  • stock していない item に対する unstock
  • stock した item に対する stock

の時のエラーが表示される。
動作的には問題ないが、できれば最初から「このアイテムはStock済みである」「まだstockしてない」などの
情報があれば間違い? stock/unstock が起きづらくなるのではないか

Auto insert uuid comment.

I think that it is better to insert uuid comment automatically the posts already exists,
or get the uuid when post then if complete post correctly, insert it the document.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.