John Kristensen
ae652a8e4e
Correctly strip leading white-space from markdown
...
If the markdown contains something that is indented by more that the
`leadingTabs`/`leadingWs` then extra white space is incorrectly removed.
ie the following example:
```
<section data-markdown>
some text
indented text
more indented text
</section>
```
would result in the following markdown:
```
some text
indented text
more indented text
```
We can work around this problem by using a function to generate the
replace value.
2023-02-02 13:27:52 +01:00
hakimel
b648a56009
update hljs 10 > 11.7, fix perf issue in demo presentation caused by auto lang detection
2023-01-17 09:12:00 +01:00
hakimel
f6f657b627
4.4.0
2022-10-17 09:46:41 +02:00
hakimel
01efcf2d92
merge support for multiple notes on same slide
2022-09-05 10:47:47 +02:00
hakimel
e219184f37
update browserlist from '> 0.5%, IE 11, not dead' to '> 2%, not dead' #2985
2022-08-08 07:58:18 +02:00
hakimel
e325cea6b7
dependency update
2022-02-28 09:57:50 +01:00
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