damianavila / RISE

RISE: "Live" Reveal.js Jupyter/IPython Slideshow Extension
Other
3.69k stars 416 forks source link

Possibility to configure reveal.js plugins #356

Open imagejan opened 6 years ago

imagejan commented 6 years ago

Is it possible to configure RISE to use any of the plugins for reveal.js? If yes, are there examples illustrating how to do that?

parmentelat commented 6 years ago

Hello It is possible, but tricky; IIUC the first one historically was for managing notes, and Damian confirmed recently that it does not behave as expected Recently there was also a proposal to ship the chalkboard plugin (see #226 and #355)

Generally speaking, there are several families of issues:

For a reference of how to deal with these, I suggest you start with the version here https://github.com/parmentelat/RISE/blob/chalkboard-redeux/rise/static/main.js#L500-L517

which unfortunately has not yet been merged - and hopefully this will give an additional incentive for Damian to do so in the near future ;)

damianavila commented 6 years ago

and hopefully this will give an additional incentive for Damian to do so in the near future ;)

I just need a 48 hs day instead of a 24 hs one :wink: Planning to merge several of your PRs during this week.

buschbapti commented 6 years ago

Hello, I am not sure what is the status with that. Is the the chalckboard plugin usable in RISE? If it has not been merged yet @parmentelat could you explain how to use your implementation of it? Thanks a lot in advance.

parmentelat commented 6 years ago

Hey there Sorry to have not answered that earlier, somehow I managed to miss this question altogether

Honestly I don't remember the status of this either; but at its best point it kind of worked, but AFAIR there remains some flaws, having to do with keyboard actions being managed ambiguously

In any case, I am currently in vacation and can't really check it out; using it should be straightforward, there should be 2 additional buttons in the lower left corner; There might be a need to turn on the feature in the config pane though.

Please check the corresponding branch by yourself; It's too bad this project moves so slowly, I can't even remember myself where that feature stands..

-- Thierry

Sent from my iPhone

On 26 Jul 2018, at 17:19, Baptiste Busch notifications@github.com wrote:

Hello, I am not sure what is the status with that. Is the the chalckboard plugin usable in RISE? If it has not been merged yet @parmentelat could you explain how to use your implementation of it? Thanks a lot in advance.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

damianavila commented 6 years ago

As I said in another issue, I plan to release a new version in the next 2 weeks and it will include this feature.

It's too bad this project moves so slowly, I can't even remember myself where that feature stands..

I would love to have more time to move it faster but as you know, everyone has a life and regrettably, things happen :wink: (in fact, I am on vacation with my son right now, not sure why we are talking here, jeje).

I am and I will always appreciate your contributions @parmentelat and I really hope I could be more responsive in the future. Thanks for your, and all the RISE users, patience.

buschbapti commented 6 years ago

Thanks @parmentelat and @damianavila for both your replies and for working on this great project.

As I said in another issue, I plan to release a new version in the next 2 weeks and it will include this feature.

Glad to hear that. I'll check on it when it is released. Enjoy both your vacations.

damianavila commented 6 years ago

Now the chalkboard PR is merged into master: https://github.com/damianavila/RISE/pull/408. Soon to be released with 5.4.0. Stay a tune!

imagejan commented 6 years ago

Thanks for your awesome work, @damianavila and @parmentelat! What needs to be added to environment.yml or postBuild to have the chalkboard extension enabled?

damianavila commented 6 years ago

What needs to be added to environment.yml or postBuild to have the chalkboard extension enabled?

You can use any of the options described here: https://rise.readthedocs.io/en/stable/customize.html#how-to-customize

damianavila commented 6 years ago

with something like this:

{
  "rise": {
    "enable_chalkboard": true
  }
}

in case you use JSON files or the notebook metadata.