AsciiDoctor.js preview (Chrome Web Store)

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

AsciiDoctor.js preview (Chrome Web Store)

ggrossetie
Hi,

I've created a simple extension to render AsciiDoc in HTML inside Chrome (using asciidoctor.js) :



Can I publish this extension to Chrome Web Store ? Do I need to add licence terms ?
The source code will be available on Github and the extension will be free.

Thanks,
Guillaume.
Reply | Threaded
Open this post in threaded view
|

Re: AsciiDoctor.js preview (Chrome Web Store)

LightGuardjp
If you're okay with the license in the asciidoctor.js (or asciidoctor itself, which IIRC is the basic MIT licence, yep, they're both MIT licensed just checked) use the same. Of course because it is MIT licensed you could release it however you'd like, though to play nicely with the rest of the community MIT would be preferred.


On Fri, Sep 13, 2013 at 12:43 PM, ggrossetie [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi,

I've created a simple extension to render AsciiDoc in HTML inside Chrome (using asciidoctor.js) :



Can I publish this extension to Chrome Web Store ? Do I need to add licence terms ?
The source code will be available on Github and the extension will be free.

Thanks,
Guillaume.



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-tp589.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
|

Re: AsciiDoctor.js preview (Chrome Web Store)

ggrossetie
Alright.
The code is now on Github https://github.com/Mogztter/asciidoctor-chrome-extension with MIT licence.
Reply | Threaded
Open this post in threaded view
|

Re: AsciiDoctor.js preview (Chrome Web Store)

LightGuardjp
Very awesome! Would you like to add it to the asciidoctor organization? Also, would you like to edit and submit a pull request for https://github.com/asciidoctor/asciidoctor.org/blob/master/docs/index.adoc with your project (probably a link to the chrome web store) under Tools?


On Fri, Sep 13, 2013 at 1:28 PM, ggrossetie [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Alright.
The code is now on Github https://github.com/Mogztter/asciidoctor-chrome-extension with MIT licence.


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-tp589p591.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
|

Re: AsciiDoctor.js preview (Chrome Web Store)

ggrossetie
Yes that would be great!

The extension is now published to the Chrome Web Store : https://chrome.google.com/webstore/detail/asciidoctorjs-live-previe/iaalpfgpbocpdfblpnhhgllgbdbchmia?hl=fr
(you need to check "Allow access to file URLs" in chrome://extensions to render local files)
Reply | Threaded
Open this post in threaded view
|

Re: AsciiDoctor.js preview (Chrome Web Store)

LightGuardjp
I'll have to let Dan take care of this one, I'm not an admin to the organization (maybe he can fix that too).


On Fri, Sep 13, 2013 at 3:20 PM, ggrossetie [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Yes that would be great!

The extension is now published to the Chrome Web Store : https://chrome.google.com/webstore/detail/asciidoctorjs-live-previe/iaalpfgpbocpdfblpnhhgllgbdbchmia?hl=fr
(you need to check "Allow access to file URLs" in chrome://extensions to render local files)


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-tp589p593.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
|

Re: AsciiDoctor.js preview (Chrome Web Store)

mojavelinux
Administrator
In reply to this post by ggrossetie
Guillaume,

This is awesome! Wow, talk about a nice surprise for a Friday!

I think Anders Nawroth, creator of docgist [1] and graphgist [2], will be very interested in this as well.

We definitely would like to welcome your project into the Asciidoctor organization. I've given you transfer rights...all you have to do is move the repository in the Settings page, then fork it to get the original URL under your account back.

If you are interested, I'm also looking for someone to help maintain asciidoctor.js. What this involves is keeping the branch of Asciidoctor used to compile asciidoctor.js up to date with the latest Asciidoctor release. Opal requires certain changes to be made to the Ruby code for it to compile successfully to JavaScript. That branch (currently based on 0.1.2) holds those changes. Eventually we want to remove any differences so that no changes are required, but for now we need them.

If that's something you'd like to hack on, I'll put together some instructions so you know how to get started and other things you need to know to make it work. Andres from Neo Technologies has also expressed interested in helping out, so you won't be a lone wolf. I do need to start looking for some help for stuff like this, though, or else these integrations fall behind because I can't get to them quick enough.

Cheers!

-Dan





On Fri, Sep 13, 2013 at 3:20 PM, ggrossetie [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Yes that would be great!

The extension is now published to the Chrome Web Store : https://chrome.google.com/webstore/detail/asciidoctorjs-live-previe/iaalpfgpbocpdfblpnhhgllgbdbchmia?hl=fr
(you need to check "Allow access to file URLs" in chrome://extensions to render local files)


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-tp589p593.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
|

Re: AsciiDoctor.js preview (Chrome Web Store)

mojavelinux
Administrator
In reply to this post by ggrossetie
Also, if you would like to make a news post about this on asciidoctor.org, just sent a pull request! Look at other news posts to see how to layout the AsciiDoc file. Note that you don't need to specify the revdate attribute in the header since that's generated automatically by the publishing script.

-Dan


On Fri, Sep 13, 2013 at 3:20 PM, ggrossetie [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Yes that would be great!

The extension is now published to the Chrome Web Store : https://chrome.google.com/webstore/detail/asciidoctorjs-live-previe/iaalpfgpbocpdfblpnhhgllgbdbchmia?hl=fr
(you need to check "Allow access to file URLs" in chrome://extensions to render local files)


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-tp589p593.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
|

Re: AsciiDoctor.js preview (Chrome Web Store)

mojavelinux
Administrator
In reply to this post by ggrossetie
If you are using the default Asciidoctor stylesheet, you shouldn't need bootstrap.min.css. The default stylesheet uses Foundation, which is another framework like Bootstrap. All the styles it needs are in there already...unless you are using bootstrap for something else.

...having said that, we do eventually want to have an Asciidoctor stylesheet option that is based on Bootstrap...but that's another thread :)

-Dan


On Fri, Sep 13, 2013 at 1:28 PM, ggrossetie [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Alright.
The code is now on Github https://github.com/Mogztter/asciidoctor-chrome-extension with MIT licence.


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-tp589p591.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
|

Re: AsciiDoctor.js preview (Chrome Web Store)

ggrossetie
mojavelinux wrote
We definitely would like to welcome your project into the Asciidoctor organization.
Done https://github.com/asciidoctor/asciidoctor-chrome-extension
Can I have some rights on the repository ?

mojavelinux wrote
If you are interested, I'm also looking for someone to help maintain asciidoctor.js. What this involves is keeping the branch of Asciidoctor used to compile asciidoctor.js up to date with the latest Asciidoctor release. Opal requires certain changes to be made to the Ruby code for it to compile successfully to JavaScript. That branch (currently based on 0.1.2) holds those changes. Eventually we want to remove any differences so that no changes are required, but for now we need them.
Yes sure! :)

mojavelinux wrote
If that's something you'd like to hack on, I'll put together some instructions so you know how to get started and other things you need to know to make it work. Andres from Neo Technologies has also expressed interested in helping out, so you won't be a lone wolf. I do need to start looking for some help for stuff like this, though, or else these integrations fall behind because I can't get to them quick enough.
It would be great, because I tried a while ago to convert Asciidoctor to js using Opal, but without success :/

mojavelinux wrote
Also, if you would like to make a news post about this on asciidoctor.org, just sent a pull request! Look at other news posts to see how to layout the AsciiDoc file. Note that you don't need to specify the revdate attribute in the header since that's generated automatically by the publishing script.
Ok I will have a look and write something...

mojavelinux wrote
If you are using the default Asciidoctor stylesheet, you shouldn't need bootstrap.min.css. The default stylesheet uses Foundation, which is another framework like Bootstrap. All the styles it needs are in there already...unless you are using bootstrap for something else.
You are right, I was just experimenting things.

Cheers,
Guillaume
Reply | Threaded
Open this post in threaded view
|

Re: AsciiDoctor.js preview (Chrome Web Store)

mojavelinux
Administrator
Guillaume,

Excellent! I'll work on putting those instructions together about Asciidoctor.js and get back to you.

I've set you up as administrator on the asciidoctor-chrome-extension repository. You can now control access for other users and administer it however you see fit.

I realized I made some name typos in my reply, which I've corrected below:

Andres from Neo Technologies
I meant to say Anders. 

[1] http://docgist.nawrote.se

Now that we call people and places by their right name, onwards!

-Dan

--
Reply | Threaded
Open this post in threaded view
|

Re: AsciiDoctor.js preview (Chrome Web Store)

ggrossetie
And because I feel great about joining the Asciidoctor organization, here's an other one :)



(No I will not write an addon for IE... never!)

Cheers,
Guillaume.
Reply | Threaded
Open this post in threaded view
|

Re: AsciiDoctor.js preview (Chrome Web Store)

asotobu
Really nice work, I am going to talk about it on Wednesday talk. If you want you can take a look at my post http://www.lordofthejars.com/2013/07/asciidoc-editor-with-markitup.html where I talk about using markitup to create a visual AsciiDoc component. Maybe you can use it in an extension.

Alex.
Reply | Threaded
Open this post in threaded view
|

Re: AsciiDoctor.js preview (Chrome Web Store)

ggrossetie
Thanks Alex.

If you having trouble with the extension just let me know.

I published a new version (0.2.1) of the Chrome extension to provide a toggle button to switch between HTML output and AsciiDoc source.
The Firefox add-on is now on "Preliminary Review" but you can still installed it directly from https://addons.mozilla.org/fr/firefox/addon/asciidoctorjs-live-preview/ (the features between the Chrome extension and the Firefox add-on are quite similar)

I watched your post and I think it can be great to have an AsciiDoc editor (using MarkItUp) directly inside Chrome. If you want we can work on an extension but you already done most of the work :)
I can't decide if we need to create two separated extensions or just combine them in a "one extension to rule them all" :D

Guillaume.

Reply | Threaded
Open this post in threaded view
|

Re: AsciiDoctor.js preview (Chrome Web Store)

asotobu
Thank you to you for joining Asciidoctor family.
In my opinion I think that would be awesome if with the same plugin you could see preview and write too. 

El diumenge 15 de setembre de 2013, ggrossetie [via Asciidoctor :: Discussion] ha escrit:
Thanks Alex.

If you having trouble with the extension just let me know.

I published a new version (0.2.1) of the Chrome extension to provide a toggle button to switch between HTML output and AsciiDoc source.
The Firefox add-on is now on "Preliminary Review" but you can still installed it directly from https://addons.mozilla.org/fr/firefox/addon/asciidoctorjs-live-preview/ (the features between the Chrome extension and the Firefox add-on are quite similar)

I watched your post and I think it can be great to have an AsciiDoc editor (using MarkItUp) directly inside Chrome. If you want we can work on an extension but you already done most of the work :)
I can't decide if we need to create two separated extensions or just combine them in a "one extension to rule them all" :D

Guillaume.




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-tp589p619.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
|

Re: AsciiDoctor.js preview (Chrome Web Store)

mojavelinux
Administrator
In reply to this post by ggrossetie
Guillaume,

Another high five! This is awesome!

I tried out the toggle button and it works splendidly. Exactly what I dreamed of having :) Great work.

I'm excited to see where else this can go. I can tell you for sure that there is tons of interested in a browser-based viewer and editor, so no matter what you come up with, you'll have lots of fans.

...should I also mention that you'll show GitHub how great markup rendering is done? ;)

(No I will not write an addon for IE... never!)

I'm with you on that :)

Personal preferences aside, if someone was interested in writing an extension for IE, we will welcome you, of course.

-Dan


On Sun, Sep 15, 2013 at 8:07 AM, ggrossetie [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Thanks Alex.

If you having trouble with the extension just let me know.

I published a new version (0.2.1) of the Chrome extension to provide a toggle button to switch between HTML output and AsciiDoc source.
The Firefox add-on is now on "Preliminary Review" but you can still installed it directly from https://addons.mozilla.org/fr/firefox/addon/asciidoctorjs-live-preview/ (the features between the Chrome extension and the Firefox add-on are quite similar)

I watched your post and I think it can be great to have an AsciiDoc editor (using MarkItUp) directly inside Chrome. If you want we can work on an extension but you already done most of the work :)
I can't decide if we need to create two separated extensions or just combine them in a "one extension to rule them all" :D

Guillaume.




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-tp589p619.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
|

Re: AsciiDoctor.js preview (Chrome Web Store)

ggrossetie
In reply to this post by asotobu
Hi Alex,

Can you create a feature branch on the Chrome Extension repository with your work ?
I will try to integrate the editor into the extension.

Cheers.
Guillaume.
Reply | Threaded
Open this post in threaded view
|

Re: AsciiDoctor.js preview (Chrome Web Store)

ggrossetie
In reply to this post by mojavelinux
Thanks for your kind words and your enthusiasm.

I nearly finished the news post so PR is incoming soon :)

I will work with Alex to integrate an editor into the extension. I also want to reload automatically on local file changes. This will give the users the choice to use the browser editor or any editor they want.

Guillaume.
Reply | Threaded
Open this post in threaded view
|

Re: AsciiDoctor.js preview (Chrome Web Store)

asotobu
Hi yes of course I Can upload the work I have already done, I will send you an email when done

El dimarts 17 de setembre de 2013, ggrossetie [via Asciidoctor :: Discussion] ha escrit:
Thanks for your kind words and your enthusiasm.

I nearly finished the news post so PR is incoming soon :)

I will work with Alex to integrate an editor into the extension. I also want to reload automatically on local file changes. This will give the users the choice to use the browser editor or any editor they want.

Guillaume.


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-tp589p629.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
|

Re: AsciiDoctor.js preview (Chrome Web Store)

mojavelinux
Administrator
In reply to this post by ggrossetie
On Tue, Sep 17, 2013 at 2:20 AM, ggrossetie [via Asciidoctor :: Discussion] <[hidden email]> wrote:

I nearly finished the news post so PR is incoming soon :)

Excellent! I look forward to it!
 

I will work with Alex to integrate an editor into the extension. I also want to reload automatically on local file changes. This will give the users the choice to use the browser editor or any editor they want.

Oooooh. That will be huge!

-Dan

--
12