Support StrawPoll titles.
This commit is contained in:
parent
28f9801ca5
commit
75bddf98db
@ -133,7 +133,7 @@ Config =
|
||||
]
|
||||
'Link Title': [
|
||||
true
|
||||
'Replace the link of a supported site with its actual title. Currently supported: YouTube, Vimeo, Dailymotion, SoundCloud, and Github gists.'
|
||||
'Replace the link of a supported site with its actual title. Currently supported: YouTube, Vimeo, Dailymotion, SoundCloud, StrawPoll, and Github gists.'
|
||||
1
|
||||
]
|
||||
'Embedding': [
|
||||
|
||||
@ -253,6 +253,9 @@ Embedding =
|
||||
el: (a) ->
|
||||
$.el 'iframe',
|
||||
src: "//strawpoll.me/embed_1/#{a.dataset.uid}"
|
||||
title:
|
||||
api: (uid) -> "https://strawpoll.me/api/v2/polls/#{uid}"
|
||||
text: (_) -> _.title
|
||||
,
|
||||
key: 'TwitchTV'
|
||||
regExp: /^\w+:\/\/(?:www\.)?twitch\.tv\/(\w[^#\&\?]*)/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user