Commit Graph

16 Commits

Author SHA1 Message Date
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
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