Commit Graph

429 Commits

Author SHA1 Message Date
Frédéric Giquel 3b40266307 Fix duplicate lambda 2021-10-14 21:44:34 +02:00
Yujie Wen d99311fc5b
Merge pull request #455 from roman/master
feat: enhance external plugins configuration
2021-10-10 11:57:27 +08:00
Roman Gonzalez cac63b6bc3 feat: enhance external plugins configuration
Context:

Some Reveal.js plugins rely on more than a single Javascript file to function
properly (e.g. CopyCode[1]).

This commit extends the capabilites of org-reveal to allow the
`org-reveal-external-plugins` variable to have multiple import scripts if
desired.

[1] https://github.com/Martinomagnifico/reveal.js-copycode
2021-10-01 10:31:43 -07:00
Yujie Wen 624dee4ee2
Merge pull request #452 from chemmi/patch-1
Remove obsolete easy-template documentation
2021-09-16 21:38:33 +08:00
Christian Hemminghaus 450dd26e36
Remove obsolete easy-template documentation
The template feature was removed in 014561540b according to #446.
2021-09-15 07:09:50 +02:00
Yujie Wen fe9148b670
Merge pull request #451 from tttuuu888/work-issue-450
Fix Error "Symbol’s value as variable is void: classList" #450
2021-09-02 22:52:29 +08:00
SeungKi Kim 56451f2598 Fix Error "Symbol’s value as variable is void: classList" #450 2021-09-02 21:29:15 +09:00
Yujie Wen 4f173fef0a Add gh link 2021-08-28 00:07:07 +08:00
Yujie Wen 0bfb526839 Fixed #449. Correct data-id for source code by highlight plugin 2021-08-27 23:55:01 +08:00
Yujie Wen 8eae719acc Fixed #448. Correct the reveal-menu name 2021-08-16 08:07:47 +08:00
Yujie Wen 775b1386bb Fixed #448. Refined third-party plugin for reveal.js 4. 2021-08-15 17:07:54 +08:00
Yujie Wen 014561540b Fixed #446. Don't change org-structure-template-alist.
Let user to configure
2021-07-06 07:21:57 +08:00
Yujie Wen 826b01beb4 Merge commit 'abc2e57' 2021-05-15 18:07:22 +08:00
Yujie Wen abc2e5734c Fixed #442. Skip print-pdf for reveal.js version 4 2021-05-15 17:57:04 +08:00
Yujie Wen 58540c7dde Fixed #443. Support code_attribs for org-mode native highlights 2021-04-11 19:38:47 +08:00
Yujie Wen 499c577717
Merge pull request #439 from credmp/master
Add REVEAL_EXTRA_SCRIPT to add custom javascript code
2021-02-16 00:05:42 +08:00
Arjen Wiersma 843d036d7b Add REVEAL_EXTRA_SCRIPT to add custom javascript code
If you want to add extra code outside of the =Reveal.initialize= block, then =#+REVEAL_EXTRA_SCRIPT= can be used. The code will be inserted after closing the =Reveal.initialize= statement, but before the closing =</script>= tag.
2021-02-08 20:54:38 +01:00
Yujie Wen e8673f4825
Merge pull request #438 from dbeley/master
Fix typo in README.md.
2020-12-31 20:38:02 +08:00
David BELEY e057c59b2b
Fix typo in README.md. 2020-12-30 20:31:59 +00:00
Yujie Wen 3c1ee7821c Fixed #429. Export multiplexing client file when publishing 2020-12-11 23:18:15 +08:00
Yujie Wen 6542658d67
Merge pull request #437 from kisaragi-hiu/cl-lib
Replace deprecated cl package with cl-lib
2020-10-25 17:52:00 +08:00
Kisaragi Hiu 6f2b6f07e0
Replace deprecated cl package with cl-lib 2020-10-20 02:39:39 +09:00
Yujie Wen 79b01ae85b Fixed #429. Updated multiplexing exports with Reveal.js 4.x 2020-09-26 12:29:37 +08:00
Yujie Wen 553e1a9d67 Fixed #430. Removed documents about obsolete data-state 2020-08-02 15:10:54 +08:00
Yujie Wen 6a00388d85 Fixed #428. Fix the orphan comma in script for reveal.js 3.x 2020-07-04 07:13:53 +08:00
Yujie Wen 18e57df3ba Fixed #427. Keep one initialization script. 2020-06-20 09:14:14 +08:00
Yujie Wen 84039bb499 Fixed #425. Initialize plugin scripts by 4.0 style 2020-06-07 21:11:05 +08:00
Yujie Wen 27c9951282
Merge pull request #424 from daewok/js-version-buffer-keyword
Allow reveal.js version to be set using buffer keyword REVEAL_REVEAL_JS_VERSION
2020-06-07 10:30:52 +08:00
Eric Timmons 6465634a9c Allow reveal.js version to be set using buffer keyword REVEAL_REVEAL_JS_VERSION 2020-06-02 15:09:44 -04:00
Yujie Wen 92af0d0a3e Fixed #422.
Add to customizable variable to specify the reveal.js version or to
let org-reveal to determine it.
2020-05-30 19:18:39 +08:00
Yujie Wen 895cc0438c Fixed #421. Choose existing files from reveal.js 3.0 and 4.0 candidates 2020-05-28 08:28:26 +08:00
Yujie Wen e8b2801ab2 Fixed #416. Clarify that only global header/footer are supported. 2020-05-02 21:04:48 +08:00
Yujie Wen 19e81a6305 Fixed #420. Removing the warning about obsoleting sub-tree export. 2020-04-29 23:33:59 +08:00
Yujie Wen 7f8b78cc94
Merge pull request #417 from f279801/iframe_support
Add iframe support for reveal_background
2020-04-27 23:48:11 +08:00
Yujie Wen 16b1f4c307
Merge pull request #418 from f279801/nolang_src
Fix crashing when source block has no language specified
2020-04-27 23:40:46 +08:00
Yujie Wen 1e0d484d50
Merge pull request #419 from f279801/compilation_warn
Compilation warn
2020-04-27 23:19:30 +08:00
Tai Dinh 25093dc6ec Fix lexical binding issue
- This remove below warning when compilation
  Warning: assignment to free variable ‘retfile’
  Warning: reference to free variable ‘retfile’
2020-04-17 00:25:31 +02:00
Tai Dinh 46d5d3856e Fix defcustom fails to specify
- This fix below warning when compilation
    Warning: defcustom for ‘org-reveal-root’ fails to specify
      type
2020-04-17 00:21:48 +02:00
Tai Dinh 720b1bc78d Fix crashing when source block has no language specified
- Wrong parenthese accidentally cause the logic completely different
  and wrong.
2020-04-17 00:20:08 +02:00
Tai Dinh 63c043f7b7 Add iframe support for reveal_background
When iframe is being used as the background, the slide content will
be put inside a new dedicated division. Other background options
(reveal_background, reveal_background_size, reveal_background_opacity,
...) can be used to configure this new division.
2020-04-16 23:09:20 +02:00
Yujie Wen ea8b502170 Fixed #407. Add a :noexport_reveal: tag
to skip headings for reveal only.
2020-03-28 00:36:19 +08:00
Yujie Wen 0526680824
Merge pull request #415 from CrossStream/sandbox/rzr/review/master
docker: Build and serve content on http
2020-03-27 23:33:46 +08:00
Philippe Coval b196389308 docker: Build and serve content on http
Usage:

    docker-compose up --build
    x-www-browser http://localhost/Readme.html

Origin: https://github.com/rzr/rzr-presentations
Change-Id: Idb35900e551503f4777e0f6a8af8fb50c70e483b
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-03-05 11:18:36 +01:00
Yujie Wen 0d947cbce6
Merge pull request #413 from CrossStream/sandbox/rzr/review/master
build: Quote args
2020-03-05 12:13:33 +08:00
Philippe Coval af455e4d9e build: Quote args
This is needed for runing in docker

Change-Id: I1b1837d7976a70bef98e8af9e0b2715446a1ab86
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-03-04 10:38:29 +01:00
Yujie Wen 9f26bcca27 Merge branch 'master' of https://github.com/yjwen/org-reveal 2020-03-04 17:37:35 +08:00
Yujie Wen 3cc34ac52b Fixed #412. Add frag index support for source blocks 2020-03-04 17:35:05 +08:00
Yujie Wen 11999b753e
Merge pull request #411 from CrossStream/sandbox/rzr/review/master
build: Add caching feature for offline use
2020-03-04 12:26:07 +08:00
Philippe Coval f058da6fe9 build: Add caching feature for offline use
Note that fonts will remain online,
so caching at browser level or proxy might help.

Origin: https://github.com/rzr/rzr-presentations
Change-Id: I59ba3e177511fd63b59baccfd97604587766bdb6
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-03-03 12:58:16 +01:00
Yujie Wen 60f6c3a3d2 Fixed #409. docs for enabling line numbers for highlight.js 2020-03-03 17:01:36 +08:00