Commit Graph

121 Commits (810d80bc3c9b26a9ab24607d01223172927fe645)

Author SHA1 Message Date
Hakim El Hattab aab4c0c3cc fix issue with parsing markdown notes inside of non-markdown slide #2970 2021-06-09 14:09:17 +02:00
Hakim El Hattab 395356a0b1 update deps & drop node/gulp-sass in order to support node 16 #2959 2021-05-19 21:48:42 +02:00
Hakim El Hattab 632cc78873 fix errors when no markdown options are provided #2956 2021-05-17 10:02:12 +02:00
Hakim El Hattab 03126c509e
Merge branch 'dev' into plugin-markdown 2021-05-17 09:54:01 +02:00
Ujjwal Sharma 00acc730f0
add animateLists option to markdown plugin
Add an "animateLists" option to the markdown plugin that animates all
lists by default.
2021-05-13 20:03:09 +05:30
Ujjwal Sharma 6884741b94
improve renderer option handling
Don't waste time constructing a renderer then override it if one is
passed into the options object.
2021-05-13 19:58:45 +05:30
Hakim El Hattab 290c251c7e fix default md slide separator not working #2850 2021-02-10 10:34:25 +01:00
Hakim El Hattab 1e70d9fe46 upgrade to node-sass 5.0 (adds support for node 15.x) #2841 2020-11-25 15:06:29 +01:00
Hakim El Hattab e09437f4fa escape HTML entities in code parsed from markdown, fixes #2744 2020-09-09 11:42:34 +02:00
Hakim El Hattab faa8b56e2a dependency upgrades 2020-08-19 10:33:36 +02:00
Hakim El Hattab e6244a57b5 fix polyfills, add ie11 support 2020-05-26 09:47:01 +02:00
Hakim El Hattab 84b52984cd update dependencies 2020-05-19 18:44:40 +02:00
Hakim El Hattab fb22716ddf move built plugin files from /dist/plugin/ to /plugin/<name>/ 2020-05-18 14:41:56 +02:00
Hakim El Hattab 60cd098c8d .esm suffix for module bundle, marked/highlight.js are installed via npm 2020-05-04 10:39:37 +02:00
Hakim El Hattab 0a1bcdf999 move markdown example from /plugins to /examples 2020-04-27 10:45:57 +02:00
Hakim El Hattab 951f5d04c2 add markdown support for code line numbers and line highlights #2371 2020-04-27 10:43:56 +02:00
Hakim El Hattab a040ba3b41 remove unused code from md plugin 2020-04-27 10:43:29 +02:00
Hakim El Hattab b92d16f48d make plugins work with multiple presentations on same page 2020-04-23 10:54:48 +02:00
Hakim El Hattab e58502b3fb tweak plugin initialization to enable multi-instance plugins 2020-04-17 14:10:56 +02:00
Hakim El Hattab 4f6bdf1420 two js bundles; reveal.js (es6) and reveal.es5.js, add source maps 2020-04-17 10:59:55 +02:00
Hakim El Hattab d9690462e0 add 'plugins' config option, new way of registering es5 plugins 2020-04-17 09:47:03 +02:00
Hakim El Hattab 08f29f08a2 initialize plugins serially 2020-04-16 16:40:46 +02:00
Hakim El Hattab 34458a988a fix code highlighting in markdown decks 2020-04-16 15:27:44 +02:00
Hakim El Hattab a55cd813be convert plugins to ES modules, transpile es5 versions backwards compatibility 2020-04-15 10:23:51 +02:00
Hakim El Hattab 9522357349 changes to plugin api; registerPlugin only accepts plugin instance, instance exposes .id 2020-04-08 13:05:28 +02:00
Hakim El Hattab ddd13ee9cf remove code slide from example 2020-03-09 09:40:53 +01:00
Hakim El Hattab 3f95a21009 fix markdown example 2020-03-09 09:33:27 +01:00
Deniz Bahadir f6d96fe45d Markdown: Boolean (data-)attributes will now be added to elements, too. 2019-10-23 21:18:14 +02:00
Hakim El Hattab fbbae1dc55 switch to monokai as default syntax highlight theme 2019-03-12 11:26:10 +01:00
Hakim El Hattab d780352b7f reveal.js plugin flow now uses promises, refactor markdown plugin to use promises 2019-03-04 14:11:21 +01:00
Hakim El Hattab 4862de26eb async loading of external markdown, add Reveal.registerPlugin() 2019-03-01 21:28:52 +01:00
Hakim El Hattab aa8be6829c
Merge pull request #2305 from reyerstudio/marked
Upgrade marked to 0.6.0
2019-01-31 10:10:28 +01:00
Stéphane Este-Gracias a86dab0363 Upgrade marked to 0.6.0 2019-01-20 19:28:27 +01:00
Hakim El Hattab 196d2a3971 remove classlist polyfill, cross browser support is good enough now 2018-10-04 14:54:35 +02:00
Hakim El Hattab 29b0e86089 remove head.min.js in favor of simple built-in script loader 2018-10-04 14:48:01 +02:00
Fred Rolland 7b2769901e
Fix typo 2018-10-02 17:52:51 +03:00
Hakim El Hattab a0c013606e add inline and external markdown images to example #2039 2017-11-23 11:12:54 +01:00
Hakim El Hattab 9139bc32de alias 'notes:' alias for md speaker note separator #1913 2017-06-07 15:43:25 +02:00
Hakim El Hattab 02a6b0515e fix markdown typo, update comment #1780 2017-01-31 15:02:59 +01:00
Hakim El Hattab 37f3da6095 Merge branch 'patch-2' of https://github.com/ccqgithub/reveal.js into dev 2017-01-31 15:02:26 +01:00
Season Chen 5f76234566 support complex markdown
support <textarea data-template> `some code` </textarea>
2016-12-23 13:08:23 +08:00
Benjamin Tan 90b301d0a0 Enable passing options for parsing Markdown.
Closes #1163, #1495.
2016-12-08 17:41:55 +08:00
Hakim El Hattab 8d7ff10ce3 Merge branch 'bug/markdownSetOptions' of https://github.com/snowyu/reveal.js into dev 2016-06-22 09:20:24 +02:00
Hakim El Hattab 12acf08ca5 Merge branch 'jetzhliu-patch-1' of https://github.com/jetzhliu/reveal.js into dev 2016-01-11 10:05:42 +01:00
Hakim El Hattab c0ea2cd980 same code format 2016-01-08 14:02:16 +01:00
Riceball LEE 16ebf2a783 * [bug] the markdown plugin can not render highlight codes for marked.setOptions(highlight) 2015-11-11 07:37:08 +00:00
Riceball LEE 6952931451 * update marked.js version to 0.3.5 2015-11-10 21:40:46 +00:00
teawithfruit 43f0d08155 fixed loading 2015-11-02 10:37:16 +01:00
Liu Zhanhong 625831b993 format note content when creating slide
In html content, marked allow `Inline-Level Grammar` but not `Block-Level Grammar`, so when I write following:
```
note:
* a
* b
* c
```
it become:
```html
<p><em> a
</em> b</p>
<ul>
<li>c</li>
</ul>
```
unbelievable!
2015-10-19 19:50:43 +08:00
Hakim El Hattab d44125d789 tweaks for #1200 2015-07-07 12:15:43 +02:00