Giter Site home page Giter Site logo

Comments (3)

yjwen avatar yjwen commented on July 17, 2024 1

But org-reveal has been updated to keep up with the new plugin codes.

The plugin code

// Optional libraries used to extend on reveal.js
dependencies: [
 { src: 'http://localhost:8000/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
 { src: 'http://localhost:8000/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }]

is for reveal.js 3.x.

It is mostly possible that org-reveal failed to detect the reveal.js version. Please try to set it explicitly by

#+REVEAL_REVEAL_JS_VERSION: 4

from org-reveal.

tinloaf avatar tinloaf commented on July 17, 2024

With the updated PR #473, plugin loading can now be achieved with:

#+REVEAL_EXTRA_SCRIPT_BEFORE_SRC: plugin/notes/notes.js
#+REVEAL_EXTRA_SCRIPT_BEFORE_SRC: plugin/highlight/highlight.js
#+REVEAL_INIT_OPTIONS: plugins:[RevealNotes, RevealHighlight]

from org-reveal.

anoopd avatar anoopd commented on July 17, 2024

@yjwen The hightlight.js css file is broken i think . You have

(defcustom org-reveal-highlight-css "%r/lib/css/zenburn.css" "Highlight.js CSS file." :group 'org-export-reveal :type 'string)

Which wont work with current Reveal version as the css is inside "%r/plugin/highlight/zenburn.css"

from org-reveal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.