Commit Graph

248 Commits

Author SHA1 Message Date
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
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 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
Frédéric Giquel 418cfec3dd Add options to set the toc slide background 2020-02-15 14:02:25 +01:00
Damien Cassou 26790beaf9
Fix typos
Typos found with codespell.
2019-11-26 21:08:30 +01:00
Yujie Wen d692f2fae4 Fixed #381. Case-insensitive notes. 2019-09-19 00:27:29 +08:00
Yujie Wen 4abd898da3 Links for github pages in manual ToC. 2019-08-11 00:55:24 +08:00
Yujie Wen 8f3874688e Fixed #378.
Remove org-reveal--insert-bibliography for it inserts redunduant
bibliography slide.
2019-07-29 00:01:06 +08:00
Yujie Wen 116446013f Remove the obsolete org-reveal-max-scale 2019-07-27 00:08:33 +08:00
Yujie Wen 07b804fe63 Fixed #377. Add a variable to skip exporting speaker notes. 2019-07-26 23:44:53 +08:00
Yujie Wen b04002ceb1 Fixed #376. #+REVEAL_INIT_OPTIONS to give initialization options 2019-07-26 00:09:11 +08:00
Yujie Wen f72ed8c080 Fixed #254. An option line for specifying external plugins. 2019-07-22 00:09:15 +08:00
Yujie Wen 6434b31143 Title slide background opacity. Document about background opacity. 2019-07-19 00:25:56 +08:00
Yujie Wen f32217eff2 Title slide background opacity. Document about background opcity 2019-07-19 00:21:00 +08:00
Yujie Wen 9e07e44bf2 Add support for background opacity 2019-07-19 00:11:03 +08:00
Yujie Wen 63a63d5b0d Fixed #289, fixed #375
Add a helper function for generating ToC, and fix the extra , when
extra initial JS is not specified.
2019-07-17 00:35:12 +08:00
Yujie Wen dc946bc4d7 Fixed #291. Add an option for embedding reveal.js initialization JS 2019-07-16 00:14:44 +08:00
Yujie Wen b7d783b27b Fixed #304. Convert source code to HTML equivalent for highlight. 2019-07-13 23:55:53 +08:00
Yujie Wen 02bcbcdef3 The heading of slide IDs being customizable 2019-07-11 00:03:19 +08:00
Yujie Wen 7834f00b5d Fixed #343. Add message about the obsoleting org-reveal-export-current-subtree 2019-07-08 23:55:21 +08:00
Yujie Wen 12b2610f00 Support of subtitle in the automatic title template. 2019-07-07 23:05:22 +08:00
Yujie Wen 83b8d9f231 Fixed #345. Re-generate section tag for split slide. 2019-07-07 00:51:25 +08:00
Yujie Wen ece13022d1 Fixed #346. An option for repeating the heading title for split slide. 2019-07-05 00:17:18 +08:00