Allow non-relative paths with #+REVEAL_ADD_PLUGIN:
Hi The default behaviour of `#+REVEAL_ADD_PLUGIN:` is to configure the plugin with a path relative to `#+REVEAL_ROOT:`. However, if you configure your presentation to use a CDN, it isn't possible to add external plugins using `#+REVEAL_ADD_PLUGIN:`. For example, adding the following lines to an .org file: ``` #+REVEAL_ROOT: https://cdn.jsdelivr.net/npm/reveal.js #+REVEAL_VERSION: 4 #+REVEAL_ADD_PLUGIN: chalkboard RevealChalkboard https://cdn.jsdelivr.net/gh/rajgoel/reveal.js-plugins/chalkboard/plugin.js #+REVEAL_EXTRA_CSS: https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css ``` will resul in a html file with: ```html ... <script src="https://cdn.jsdelivr.net/npm/reveal.js/https://cdn.jsdelivr.net/gh/rajgoel/reveal.js-plugins/chalkboard/plugin.js"></script> Reveal.initialize({ ... // Plugins with reveal.js 4.x plugins: [ RevealMarkdown, RevealNotes, RevealSearch, RevealZoom, RevealChalkboard ], // Optional libraries used to extend reveal.js dependencies: [ ] }); </script> ``` This wont work because the path for the chalkboard plugin is using a CDN, but org-re-reveal assumes it as relative to `#+REVEAL_ROOT`. If you manually fix the path, it works perfectly. Is there a way to use non-relative paths with `#+REVEAL_ADD_PLUGIN?` Thanks,
issue