improve InstallGentoo embedding
This commit is contained in:
parent
67efff9dd1
commit
3bc0fa4b32
@ -251,7 +251,7 @@ Linkify =
|
|||||||
$.el 'div', <%= html('<a target="_blank" href="${a.href}"><img src="${a.href}"></a>') %>
|
$.el 'div', <%= html('<a target="_blank" href="${a.href}"><img src="${a.href}"></a>') %>
|
||||||
,
|
,
|
||||||
key: 'InstallGentoo'
|
key: 'InstallGentoo'
|
||||||
regExp: /^\w+:\/\/paste\.installgentoo\.com\/view\/(\w+)/
|
regExp: /^\w+:\/\/paste\.installgentoo\.com\/view\/(?:raw\/|download\/|embed\/)?(\w+)/
|
||||||
el: (a) ->
|
el: (a) ->
|
||||||
$.el 'iframe',
|
$.el 'iframe',
|
||||||
src: "https://paste.installgentoo.com/view/embed/#{a.dataset.uid}"
|
src: "https://paste.installgentoo.com/view/embed/#{a.dataset.uid}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user