Login  Register

AsciiDoctor.js preview (Chrome Web Store)

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

Re: AsciiDoctor.js preview (Chrome Web Store)

asotobu
Give me two days (I am preparing talk about Asciidoctor) and I will upload the example so we can start working on it.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: AsciiDoctor.js preview (Chrome Web Store)

ggrossetie
I checked the Chrome documentation [1] to find out how can we integrate the editor inside the extension and AFAIU there are two separate things.

The editor, in Chrome terms, is a packaged app. A packaged app act as a standalone app (close to a native app). On the other side Chrome extension interact with the browser.

I like the fact that we can preview AsciiDoc content right away without launching an app. So I think it will be better if we just create a packaged app for the Asciidoctor editor and leave the extension to do live preview.

What do you think ?

[1] https://developers.google.com/chrome/web-store/docs/choosing?hl=fr&csw=1
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: AsciiDoctor.js preview (Chrome Web Store)

mojavelinux
Administrator
On Mon, Sep 23, 2013 at 10:52 AM, ggrossetie [via Asciidoctor :: Discussion] <[hidden email]> wrote:

I like the fact that we can preview AsciiDoc content right away without launching an app. So I think it will be better if we just create a packaged app for the Asciidoctor editor and leave the extension to do live preview.

+1

Like with *nix, people appreciate simple apps that do one thing well. The Asciidoctor.js Live Preview is exactly that sort of app.

...you can then go crazy with the editor knowing that people that just need the simple viewing support have it.

-Dan

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

Re: AsciiDoctor.js preview (Chrome Web Store)

asotobu
+1

El dimarts 24 de setembre de 2013, mojavelinux [via Asciidoctor :: Discussion] ha escrit:
On Mon, Sep 23, 2013 at 10:52 AM, ggrossetie [via Asciidoctor :: Discussion] <[hidden email]> wrote:

I like the fact that we can preview AsciiDoc content right away without launching an app. So I think it will be better if we just create a packaged app for the Asciidoctor editor and leave the extension to do live preview.

+1

Like with *nix, people appreciate simple apps that do one thing well. The Asciidoctor.js Live Preview is exactly that sort of app.

...you can then go crazy with the editor knowing that people that just need the simple viewing support have it.

-Dan

--



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/AsciiDoctor-js-preview-Chrome-Web-Store-tp589p647.html
To unsubscribe from AsciiDoctor.js preview (Chrome Web Store), click here.
NAML


--
Enviat amb Gmail Mobile
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: AsciiDoctor.js preview (Chrome Web Store)

ggrossetie
Version 0.2.3 of Asciidoctor Chrome Extension is out with Auto Reload : https://github.com/asciidoctor/asciidoctor-chrome-extension#023 :)

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

Re: AsciiDoctor.js preview (Chrome Web Store)

mojavelinux
Administrator

Excellent! This is a great alternative to setting up Guard*.

I'm upgrading it now!

-Dan

* It will be even better when you and Xavier manage to get it integrated with the LiveReload plugin, which provides smooth updates to the DOM. That will be awesome.

On Oct 6, 2013 5:40 AM, "ggrossetie [via Asciidoctor :: Discussion]" <[hidden email]> wrote:
Version 0.2.3 of Asciidoctor Chrome Extension is out with Auto Reload : https://github.com/asciidoctor/asciidoctor-chrome-extension#023 :)




If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/AsciiDoctor-js-preview-Chrome-Web-Store-tp589p729.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: AsciiDoctor.js preview (Chrome Web Store)

LightGuardjp
Can we get it to build presentations via asciidoctor.js as well?


On Mon, Oct 7, 2013 at 5:55 PM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Excellent! This is a great alternative to setting up Guard*.

I'm upgrading it now!

-Dan

* It will be even better when you and Xavier manage to get it integrated with the LiveReload plugin, which provides smooth updates to the DOM. That will be awesome.

On Oct 6, 2013 5:40 AM, "ggrossetie [via Asciidoctor :: Discussion]" <[hidden email]> wrote:
Version 0.2.3 of Asciidoctor Chrome Extension is out with Auto Reload : https://github.com/asciidoctor/asciidoctor-chrome-extension#023 :)




If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/AsciiDoctor-js-preview-Chrome-Web-Store-tp589p729.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/AsciiDoctor-js-preview-Chrome-Web-Store-tp589p745.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: AsciiDoctor.js preview (Chrome Web Store)

mojavelinux
Administrator

Not just yet since Asciidoctor.js doesn't yet support custom templates. You could compile them into Asciidoctor.js manually, but you'd still need Asciidoctor.js to be upgraded to 0.1.4 (or 1.5.0.dev).

Once we get it upgraded, we'll look at how to support addon JS files that contain compiled custom templates. Can you file that as an issue in the asciidoctor.js tracker?

-Dan

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

Re: AsciiDoctor.js preview (Chrome Web Store)

nawroth
Hi everyone,

Sorry for missing out on the party here :-) I've been busy keeping the Neo4j manual and other documentation in sync with the rapid evolution of the software itself.

The Asciidoctor.js preview is really cool!

And it's great news that Asciidoctor.js is getting in sync with with the Ruby version. I just updated docgist to use the latest version, here's an example using some document that Dan created: http://docgist.nawroth.se/?6520414

Please try it using your own documents to see how it holds up!

Has anyone looked into hooking extensions into Asciidoctor.js?

/anders
12