Commit Graph

108 Commits (c0c6b0aa6eda569941d965bf8da96f222d437391)

Author SHA1 Message Date
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
Hakim El Hattab 399d4f652d Merge branch 'master' of https://github.com/bfritscher/reveal.js into dev 2015-07-07 12:06:22 +02:00
Boris Fritscher 9645a763c3 handle the </script> end bug inside code markdown
by changing the tag before html is parsed and restoring it before markdown parsing
2015-04-12 15:15:57 +02:00
Hakim El Hattab 0428365041 Merge branch 'patch-1' of https://github.com/drzax/reveal.js into dev 2015-03-25 14:16:12 +01:00
Simon Elvery 7a03e238f0 Attribute values should be quoted 2015-03-16 20:44:23 +10:00
Dan Callahan dfb39b4c96 Bumped Marked to v0.3.3
Compressed with `uglifyjs lib/marked.js --comments="/Copyright/" --mangle --compress`

Used Marked v0.3.3 as of chjj/marked@2b5802f258
2015-03-16 03:13:50 -05:00
Hakim El Hattab 7baa8ec1fe updated md slide separator regex #929
see https://github.com/hakimel/reveal.js/issues/929#issuecomment-80738837
2015-03-16 08:54:58 +01:00
Hakim El Hattab 44548ba357 add global flag back in for whitespace removal, without it most of the content in example.html does not work #682 2015-01-22 08:46:14 +01:00
Hakim El Hattab c87d7db930 code format tweak 2014-04-06 10:18:38 +02:00
Hakim El Hattab 2eb3d082ce Merge branch 'xhr-local' of https://github.com/malyw/reveal.js into dev 2014-04-06 10:16:46 +02:00
Hakim El Hattab 2901abccde Merge pull request #682 from tentacode/patch-1
Indentation issue when using code in a markdown slide
2014-04-06 09:56:54 +02:00
Sergey Gospodarets 873f2dbc96 Mark xhr.status=0 as successful 2014-04-02 13:02:39 +03:00
Sergey Gospodarets 75247a8860 Mark xhr.status=0 as successful 2014-04-02 12:59:36 +03:00
Hakim El Hattab 015468c3a2 renamed markdown attributes for clarity and consistency: data-vertical -> data-separator-vertical, data-notes -> data-separator-notes 2014-02-17 21:15:02 +01:00