|
|
@ -11,13 +11,13 @@ markdown:
|
|
|
|
|
|
|
|
|
|
|
|
You can find the embed script on the asciicast's page. It looks like this:
|
|
|
|
You can find the embed script on the asciicast's page. It looks like this:
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="http://asciinema.org/a/14.js" id="asciicast-14" async></script>
|
|
|
|
<script type="text/javascript" src="https://asciinema.org/a/14.js" id="asciicast-14" async></script>
|
|
|
|
|
|
|
|
|
|
|
|
The player shows up right at the place where the script is pasted. Let's look
|
|
|
|
The player shows up right at the place where the script is pasted. Let's look
|
|
|
|
at the following markup:
|
|
|
|
at the following markup:
|
|
|
|
|
|
|
|
|
|
|
|
<p>This is some text.</p>
|
|
|
|
<p>This is some text.</p>
|
|
|
|
<script type="text/javascript" src="http://asciinema.org/a/14.js" id="asciicast-14" async></script>
|
|
|
|
<script type="text/javascript" src="https://asciinema.org/a/14.js" id="asciicast-14" async></script>
|
|
|
|
<p>This is some other text.</p>
|
|
|
|
<p>This is some other text.</p>
|
|
|
|
|
|
|
|
|
|
|
|
The player will show up as a `div` element with a class "asciicast" between
|
|
|
|
The player will show up as a `div` element with a class "asciicast" between
|
|
|
@ -38,7 +38,7 @@ markdown:
|
|
|
|
For example, to make the playback 2 times faster than original recording the
|
|
|
|
For example, to make the playback 2 times faster than original recording the
|
|
|
|
script should look like this:
|
|
|
|
script should look like this:
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="http://asciinema.org/a/14.js" id="asciicast-14" async data-speed="2"></script>
|
|
|
|
<script type="text/javascript" src="https://asciinema.org/a/14.js" id="asciicast-14" async data-speed="2"></script>
|
|
|
|
|
|
|
|
|
|
|
|
### size
|
|
|
|
### size
|
|
|
|
|
|
|
|
|
|
|
@ -51,4 +51,4 @@ markdown:
|
|
|
|
|
|
|
|
|
|
|
|
For example, to make the font big the script should look like this:
|
|
|
|
For example, to make the font big the script should look like this:
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="http://asciinema.org/a/14.js" id="asciicast-14" async data-size="big"></script>
|
|
|
|
<script type="text/javascript" src="https://asciinema.org/a/14.js" id="asciicast-14" async data-size="big"></script>
|
|
|
|