Giter VIP home page Giter VIP 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

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.