Commit Graph

271 Commits

Author SHA1 Message Date
Yujie Wen f55c851bf6 Fixed #474. Update highlight plugin css path 2022-11-27 16:14:24 +08:00
Yujie Wen 2d5a04ddec Fixed #480, merge custom theme with REVEAL_THEME 2022-11-27 15:02:20 +08:00
Yujie Wen 0dc6d4f1dd
Merge pull request #480 from gonsie/custom-theme
Custom theme
2022-11-27 10:41:36 +08:00
Yujie Wen 8567d2b111 Fixed #481. Insert HTML contents between <div reveal> and <div slides> 2022-06-27 23:39:57 +08:00
Elsa Gonsiorowski (Pluto) c484226a64 add custom theme capability 2022-06-20 10:15:28 +03:00
Yujie Wen 43ebe238ef Fixed #479. Prepare multiplex when multiplex-id is not empty. 2022-05-24 19:44:26 +08:00
Yujie Wen bb3e4dbed9 Fixed #479. Removed multiplex from plugin list. 2022-05-23 20:59:28 +08:00
Yujie Wen 862b41df77
Merge pull request #477 from eclig/bugfix/extract-data-before-formatting
Properly extract data before formatting
2022-04-10 23:33:05 +08:00
Emilio Lopes c67fde9d8d Support the "data-state" attribute on the title slide 2022-03-22 13:47:12 +01:00
Emilio Lopes d361a99934 Properly extract data before formatting
This avoids data in a list to be formatted within parentheses.
2022-03-22 12:42:04 +01:00
Yujie Wen fed9be1f4c Extract local file name from script URL 2022-02-16 23:06:11 +08:00
Yujie Wen 3f5ae4df8a Fixed #472. Read plugin scripts in single file mode 2022-02-13 22:36:12 +08:00
Lukas Barth d9b883ebdf Allow extra scripts before and after initialize() 2022-02-01 16:46:52 +01:00
Lukas Barth 9642179c18 Move extra scripts before initialize 2022-02-01 12:02:01 +01:00
Yujie Wen 59adea8001 Fixed #467. Support single string value of org-reveal-extra-script-src 2021-11-28 23:09:27 +08:00
Yujie Wen 2adca68b2b Fixed #465. Add option for including script source files. 2021-11-14 21:07:04 +08:00
Yujie Wen a78ca48a33
Merge pull request #463 from steelman/sec-tabel-of-content
Avoid clash with id generated by org-html-toc
2021-11-07 19:21:54 +08:00
Yujie Wen 8dfb90e3cb Fix #462. Replace only the first %s by reveal.js root path 2021-11-07 19:17:35 +08:00
Łukasz Stelmach 40ed0a4c7f Avoid clash with id generated by org-html-toc 2021-11-04 20:36:20 +01:00
Yujie Wen c06c88812b Fixed #462. Reveal root path replacement for extra init JS 2021-10-30 16:38:11 +08:00
Yujie Wen a020ef3318 Fixed #462. Remove the redundant :reveal-init-script 2021-10-29 22:54:46 +08:00
Yujie Wen a995a9cf4c Correct the wrong function name introduced in #461's fix. 2021-10-25 22:24:14 +08:00
Yujie Wen f71a12a04d Fixed #461. Support for in-buffer external plugin specification 2021-10-23 22:24:29 +08:00
Frédéric Giquel 3b40266307 Fix duplicate lambda 2021-10-14 21:44:34 +02: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
SeungKi Kim 56451f2598 Fix Error "Symbol’s value as variable is void: classList" #450 2021-09-02 21:29:15 +09: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 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
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 3c1ee7821c Fixed #429. Export multiplexing client file when publishing 2020-12-11 23:18:15 +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
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 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
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