1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

GitHub の Issues を Markdown 形式で出力する

Posted at

背景

私は手元の Markdown ファイルにタスクを書き出すことが多いのですが、その際に GitHub の Issues をタスクとして持ってきたいことがしばしばありました。数が少なければ普通にコピペで十分なのですが、多かったりすると大変です。

ということで楽にできる方法を考えました。

手順

  1. GitHub の Issues を開く
    image.png
  2. 開発者ツールを開き、コンソールで下記コードを実行する
    console.log(Array.from(document.getElementsByClassName('h4')).reduce((carry, e) => e.href ? carry + '- [' + e.innerText + '](' + e.href + ')\n' : '', ''));
    
  3. 出力結果をコピペする
    - [Out of bounds handling for non-US keyboards](https://github.com/vlang/vinix/issues/104)
    - [Vinix kernel panic on pressing the tab key](https://github.com/vlang/vinix/issues/103)
    - [V panic spam when typing 'vim'](https://github.com/vlang/vinix/issues/100)
    - [Add more than one keyboard layout](https://github.com/vlang/vinix/issues/83)
    - [Vinix halts when pressed keys '(' and ')' in vim or nano](https://github.com/vlang/vinix/issues/79)
    - [question: Can a screen reader be built/ported to this system](https://github.com/vlang/vinix/issues/78)
    - [shell: Number of characters per line limited by screen](https://github.com/vlang/vinix/issues/51)
    - [trying to move cursor in nano inserts capital letters](https://github.com/vlang/vinix/issues/41)
    - [building with v creates weird file](https://github.com/vlang/vinix/issues/39)
    - [OsDev Tutorial ](https://github.com/vlang/vinix/issues/16)
    - [Resources & ideas for inspiration](https://github.com/vlang/vinix/issues/5)
    - [Logo suggestion](https://github.com/vlang/vinix/issues/3)
    

補足

Pull requests でも使えます。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?