Skip to content

Commit

Permalink
make index md, not html
Browse files Browse the repository at this point in the history
  • Loading branch information
benbalter committed Jan 9, 2017
1 parent 39ddd6f commit 0159767
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
7 changes: 0 additions & 7 deletions index.html

This file was deleted.

7 changes: 7 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copy issue link bookmarklet

Drag this link to your bookmark bar to save the bookmarklet:

<a href='javascript:(function(){var a,b,c;a=document.createElement("textarea"),b=document.getElementsByTagName("h1")[1].children[0].textContent.trim(),c=window.location.href,a.value="["+b+"]("+c+")",document.body.appendChild(a),a.select(),document.execCommand("copy"),a.remove()}).call(this);'>Copy issue link</a>

See [github.com/benbalter/copy-issue-link-bookmarklet](https://github.com/benbalter/copy-issue-link-bookmarklet) for more information.
4 changes: 2 additions & 2 deletions script/build-page
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

rm -f index.html

template=`cat src/index.html`
template=`cat src/index.md`
script=`cat dist/bookmark.js`

echo "${template/_SRC_/$script}" >> index.html
echo "${template/_SRC_/$script}" >> index.md
7 changes: 0 additions & 7 deletions src/index.html

This file was deleted.

7 changes: 7 additions & 0 deletions src/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copy issue link bookmarklet

Drag this link to your bookmark bar to save the bookmarklet:

<a href='javascript:_SRC_'>Copy issue link</a>

See [github.com/benbalter/copy-issue-link-bookmarklet](https://github.com/benbalter/copy-issue-link-bookmarklet) for more information.

0 comments on commit 0159767

Please sign in to comment.