Login  Register

deck.js intro slide deck converted to AsciiDoc

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

deck.js intro slide deck converted to AsciiDoc

mojavelinux
Administrator
In an effort to test the sturdiness of the deck.js backend, I converted the intro slide deck from the deck.js repository to AsciiDoc (using Asciidoctor shorthand syntax). You can find it here:

https://gist.github.com/mojavelinux/7655050

This should give you a good starting point for creating deck.js presentations. It also demonstrates how much leaner the AsciiDoc is when compared to the HTML. But we shouldn't just stop there. If there's an idea you have for shrinking the source even more, let's do it!

I can attest to the fact that the deck.js backend is in pretty decent shape. Now it's time to get reveal.js in order!

-Dan
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: deck.js intro slide deck converted to AsciiDoc

ch007m
Add some comments/remarks to the gist file
Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist
Twitter : @cmoulliard
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: deck.js intro slide deck converted to AsciiDoc

mojavelinux
Administrator

Charles,

I made the video template produce the HTML that Vimeo recommends. Of course, this prevents it from working on Chrome when viewing the presentation through the file: protocol. (You have to serve the current directory through a local http server at least).

The reason the // prefix is recommended is because it allows the same HTML to work when served through http or https.

Perhaps we could introduce an attribute to indicate the target protocol like in the Servlet API. What attribute name would you suggest?

Btw, the reason I didn't add a table or font-based icons is because I was going for an exact replica of the deck.js intro presentation. We can add your suggestions into the sample deck that we provide in the guide on asciidoctor.org.

-Dan

On Nov 26, 2013 5:02 AM, "ch007m [via Asciidoctor :: Discussion]" <[hidden email]> wrote:
Add some comments/remarks to the gist file


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/deck-js-intro-slide-deck-converted-to-AsciiDoc-tp1097p1098.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: deck.js intro slide deck converted to AsciiDoc

LightGuardjp
:uri-protocol:

Sent from Mailbox for iPhone


On Tue, Nov 26, 2013 at 6:06 PM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Charles,

I made the video template produce the HTML that Vimeo recommends. Of course, this prevents it from working on Chrome when viewing the presentation through the file: protocol. (You have to serve the current directory through a local http server at least).

The reason the // prefix is recommended is because it allows the same HTML to work when served through http or https.

Perhaps we could introduce an attribute to indicate the target protocol like in the Servlet API. What attribute name would you suggest?

Btw, the reason I didn't add a table or font-based icons is because I was going for an exact replica of the deck.js intro presentation. We can add your suggestions into the sample deck that we provide in the guide on asciidoctor.org.

-Dan

On Nov 26, 2013 5:02 AM, "ch007m [via Asciidoctor :: Discussion]" <[hidden email]> wrote:
Add some comments/remarks to the gist file


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/deck-js-intro-slide-deck-converted-to-AsciiDoc-tp1097p1098.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/deck-js-intro-slide-deck-converted-to-AsciiDoc-tp1097p1118.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: deck.js intro slide deck converted to AsciiDoc

mojavelinux
Administrator

+1

File an issue? This could be used in a lot of places.

-Dan

On Nov 26, 2013 6:13 PM, "LightGuardjp [via Asciidoctor :: Discussion]" <[hidden email]> wrote:
:uri-protocol:

Sent from Mailbox for iPhone


On Tue, Nov 26, 2013 at 6:06 PM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Charles,

I made the video template produce the HTML that Vimeo recommends. Of course, this prevents it from working on Chrome when viewing the presentation through the file: protocol. (You have to serve the current directory through a local http server at least).

The reason the // prefix is recommended is because it allows the same HTML to work when served through http or https.

Perhaps we could introduce an attribute to indicate the target protocol like in the Servlet API. What attribute name would you suggest?

Btw, the reason I didn't add a table or font-based icons is because I was going for an exact replica of the deck.js intro presentation. We can add your suggestions into the sample deck that we provide in the guide on asciidoctor.org.

-Dan

On Nov 26, 2013 5:02 AM, "ch007m [via Asciidoctor :: Discussion]" <[hidden email]> wrote:
Add some comments/remarks to the gist file


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/deck-js-intro-slide-deck-converted-to-AsciiDoc-tp1097p1098.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/deck-js-intro-slide-deck-converted-to-AsciiDoc-tp1097p1118.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML




If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/deck-js-intro-slide-deck-converted-to-AsciiDoc-tp1097p1119.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: deck.js intro slide deck converted to AsciiDoc

LightGuardjp
I'll file it later tonight

Sent from Mailbox for iPhone


On Tue, Nov 26, 2013 at 6:19 PM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:

+1

File an issue? This could be used in a lot of places.

-Dan

On Nov 26, 2013 6:13 PM, "LightGuardjp [via Asciidoctor :: Discussion]" <[hidden email]> wrote:
:uri-protocol:

Sent from Mailbox for iPhone


On Tue, Nov 26, 2013 at 6:06 PM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Charles,

I made the video template produce the HTML that Vimeo recommends. Of course, this prevents it from working on Chrome when viewing the presentation through the file: protocol. (You have to serve the current directory through a local http server at least).

The reason the // prefix is recommended is because it allows the same HTML to work when served through http or https.

Perhaps we could introduce an attribute to indicate the target protocol like in the Servlet API. What attribute name would you suggest?

Btw, the reason I didn't add a table or font-based icons is because I was going for an exact replica of the deck.js intro presentation. We can add your suggestions into the sample deck that we provide in the guide on asciidoctor.org.

-Dan

On Nov 26, 2013 5:02 AM, "ch007m [via Asciidoctor :: Discussion]" <[hidden email]> wrote:
Add some comments/remarks to the gist file


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/deck-js-intro-slide-deck-converted-to-AsciiDoc-tp1097p1098.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/deck-js-intro-slide-deck-converted-to-AsciiDoc-tp1097p1118.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML




If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/deck-js-intro-slide-deck-converted-to-AsciiDoc-tp1097p1119.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/deck-js-intro-slide-deck-converted-to-AsciiDoc-tp1097p1121.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: deck.js intro slide deck converted to AsciiDoc

LightGuardjp
In reply to this post by mojavelinux
Done


On Tue, Nov 26, 2013 at 6:20 PM, Jason Porter <[hidden email]> wrote:
I'll file it later tonight

Sent from Mailbox for iPhone


On Tue, Nov 26, 2013 at 6:19 PM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:

+1

File an issue? This could be used in a lot of places.

-Dan

On Nov 26, 2013 6:13 PM, "LightGuardjp [via Asciidoctor :: Discussion]" <[hidden email]> wrote:
:uri-protocol:

Sent from Mailbox for iPhone


On Tue, Nov 26, 2013 at 6:06 PM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Charles,

I made the video template produce the HTML that Vimeo recommends. Of course, this prevents it from working on Chrome when viewing the presentation through the file: protocol. (You have to serve the current directory through a local http server at least).

The reason the // prefix is recommended is because it allows the same HTML to work when served through http or https.

Perhaps we could introduce an attribute to indicate the target protocol like in the Servlet API. What attribute name would you suggest?

Btw, the reason I didn't add a table or font-based icons is because I was going for an exact replica of the deck.js intro presentation. We can add your suggestions into the sample deck that we provide in the guide on asciidoctor.org.

-Dan

On Nov 26, 2013 5:02 AM, "ch007m [via Asciidoctor :: Discussion]" <[hidden email]> wrote:
Add some comments/remarks to the gist file


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/deck-js-intro-slide-deck-converted-to-AsciiDoc-tp1097p1098.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/deck-js-intro-slide-deck-converted-to-AsciiDoc-tp1097p1118.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML




If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/deck-js-intro-slide-deck-converted-to-AsciiDoc-tp1097p1119.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/deck-js-intro-slide-deck-converted-to-AsciiDoc-tp1097p1121.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML




--
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: deck.js intro slide deck converted to AsciiDoc

ch007m
In reply to this post by LightGuardjp
:uri-protocol: or :uri: should be the best options
Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist
Twitter : @cmoulliard