link.md

    @@ -8,5 +8,8 @@ * @see http://daringfireball.net/projects/markdown/syntax (Markdown official syntax) */ -// not screen transition when press 'OK' -prompt('link.md', '[' + document.querySelector('title').textContent + '](' + location.href + ')'); void 0; +[Changes] +// + not screen transition when press 'OK' +// + allow title cf. https://api.github.com/gists/2370972 + +prompt('link.md', '[' + document.title + '](' + location.href + ')'); void 0;
  • /*
     * @title link.md
     * @description 閲覧ページのMarkdown inline linkをprompt(Forked)
     * @include http://*
     * @license MIT License
     * @require 
     * @see http://let.hatelabo.jp/jdg/let/gYC-xdO5tsuJfQ (Fork of, id:jdg)
     * @see http://daringfireball.net/projects/markdown/syntax (Markdown official syntax)
     */
    
    [Changes]
    // + not screen transition when press 'OK'
    // + allow title cf. https://api.github.com/gists/2370972
    
    prompt('link.md', '[' + document.title + '](' + location.href + ')'); void 0;
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2013/01/29 07:35:37 - 2013-01-29
  2. 2012/04/15 04:24:11 - 2012-04-15
  3. 2012/04/15 04:05:04 - 2012-04-15
  4. 2012/04/15 03:50:34 - 2012-04-15
  5. 2012/04/15 03:34:53 - 2012-04-15
  6. 2012/04/13 19:08:13 - 2012-04-13
  7. 2012/04/13 18:46:05 - 2012-04-13