Paste.installgentoo.net embedding
This commit is contained in:
parent
9c0dd570dd
commit
9ebd79bb3e
@ -2,6 +2,7 @@ seaweedchan:
|
||||
- External image embedding
|
||||
- Account for time options in youtube links for embedding
|
||||
- Once again remove /v/ and /vg/ archiving... ;_;
|
||||
- Add paste.installgentoo.net embedding
|
||||
|
||||
### 1.1.6 - 2013-05-01
|
||||
seaweedchan:
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -89,7 +89,7 @@ Config =
|
||||
]
|
||||
'Link Title': [
|
||||
true
|
||||
'Replace the link of a supported site with its actual title. Currently Supported: YouTube, Vimeo, SoundCloud'
|
||||
'Replace the link of a supported site with its actual title. Currently Supported: YouTube, Vimeo, SoundCloud, and Github gists'
|
||||
]
|
||||
|
||||
'Filtering':
|
||||
|
||||
@ -935,3 +935,7 @@ a:only-of-type > .remove {
|
||||
background: transparent url('data:image/png;base64,<%= grunt.file.read("src/General/img/links/image.png", {encoding: "base64"}) %>') center left no-repeat!important;
|
||||
padding-left: 18px;
|
||||
}
|
||||
.linkify.InstallGentoo {
|
||||
background: transparent url('data:image/png;base64,<%= grunt.file.read("src/General/img/links/installgentoo.png", {encoding: "base64"}) %>') center left no-repeat!important;
|
||||
padding-left: 18px;
|
||||
}
|
||||
BIN
src/General/img/links/installgentoo.png
Normal file
BIN
src/General/img/links/installgentoo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 730 B |
@ -225,6 +225,12 @@ Linkify =
|
||||
response = JSON.parse(@responseText).files
|
||||
return file for file of response when response.hasOwnProperty file
|
||||
|
||||
InstallGentoo:
|
||||
regExp: /.*(?:paste.installgentoo.com\/view\/)([0-9a-z_]+)/
|
||||
el: ->
|
||||
$.el 'iframe',
|
||||
src: "http://paste.installgentoo.com/view/embed/#{@name}"
|
||||
|
||||
embedder: (a) ->
|
||||
return [a] unless Conf['Link Title']
|
||||
titles = {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user