We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 631ecba commit 7bc3ec1Copy full SHA for 7bc3ec1
src/Adapters/Sassmeister.php
@@ -6,7 +6,6 @@
6
namespace Embed\Adapters;
7
8
use Embed\Request;
9
-use Embed\Utils;
10
11
class Sassmeister extends Webpage implements AdapterInterface
12
{
@@ -27,6 +26,9 @@ public function getCode()
27
26
28
$id = $this->request->getDirectoryPosition(1);
29
30
- return Utils::iframe('http://embed.sassmeister.com/gist/' . $id);
+ return "<p class=\"sassmeister\" data-gist-id=\"{$id}\" data-height=\"480\" data-theme=\"tomorrow\">" .
+ "<a href=\"http://sassmeister.com/gist/{$id}\">Play with this gist on SassMeister.</a>" .
31
+ "</p>" .
32
+ "<script src=\"http://cdn.sassmeister.com/js/embed.js\" async></script>";
33
}
34
0 commit comments