-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reveal.js 4.0 support #370
Comments
Hello, Reveal.js 4.1.0 was since released and it notably fixes the autoplay feature which no longer works on both youtube and vimeo. No hurry, this is just a follow up for this issue :-). |
Hi! I think you meant to link: https://github.com/hakimel/reveal.js/releases/tag/4.1.0 right?
I'm not sure if I follow... could you please explain again? |
Compatibility matrix should make this clearer. Reveal.js 4.x is not supported right now. |
It would be a bit odd to add a row in the compatiblity matrix no?
Instead, we could probably add a NOTE to state that reveal.js 4.x is not yet supported? |
@Mogztter Oops! You're right, I have mixed up the release notes. |
According to reveal.js 4.x upgrading document: It is just some asset file paths are changed. Is it possible to issue a new asciidoctor-reveal.js for the 4.0.x of reveal.js? And for the new features such as layout of new reveal.js, there are ways for users to hake in their adoc file, such as passthrough HTML tags such as style tag. |
I haven't had the time to look at it closely but, since this issue is labeled as "help wanted", feel free to submit a pull request, I will gladly review it. I can also assist if you need help to get started 🤗 |
On windows10, following the doc: when run: bundle exec rake build an error occurred:
|
Thanks for raising this issue. Anyway, I think we need to add prerequisites in the contributing guide:
We are testing against Windows using GitHub Actions and it seems to work. I think the root cause is:
I would recommend to use rvm to install gem dependencies in the user space. |
Alternatively, I think you can use |
We should probably take inspiration from https://github.com/asciidoctor/asciidoctor/blob/master/CONTRIBUTING.adoc#submitting-a-pull-request |
I have made a pull request: basd on my test, new layout of reveal.js is workable, such as Since old code base default revealjsdir is node_modules/reveal.js, I havn't modified this default value, which means users would have to define :revealjsdir: in their adocs explicitly for now. |
Thanks, I will review it this week.
The default value is |
As user git clone reveal.js 4.x the folder structure likes below: I don't know why the default :revealjsdir: value is varied between asciidoctor.js and Asciidoctor(Ruby). I think when converting adoc to html, if reveal.js is not needed, for asciidoctor.js, the default value of :revealjsdir: can be reveal.js too. So that for both Asciidoctor and Asciidoctor.js the default values are the same. By the way, I use |
Because reveal.js is declared as a npm dependency in the asciidoctor-reveal.js/package.json Line 52 in e89b5af
So when you do |
OK, got it, thanks. |
- Upgrade to Highlight.js 10 - Upgrade to reveal.js 4.1.1
- Upgrade to Highlight.js 10 - Upgrade to reveal.js 4.1.1
Co-authored-by: edl7878 <[email protected]>
4.0.0 was released last week and with it enough breaking changes for us to mandate another breaking one.
However, one thing we will need to do in the meantime is to change all of our links to the reveal.js README to point to their new 3.9 branch. They released a dedicated documentation site and stripped their README of all the stuff. I think master and maybe -1, -2 major releases should point to the right location (given it's only some vim regex wizardry at this point) and adjust all the links for our next major release.
The text was updated successfully, but these errors were encountered: