ae652a8e4e06bb59ebcb6bd9f4e220ed85038d30
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.
reveal.js is an open source HTML presentation framework. It enables anyone with a web browser to create beautiful presentations for free. Check out the live demo at revealjs.com.
The framework comes with a powerful feature set including nested slides, Markdown support, Auto-Animate, PDF export, speaker notes, LaTeX typesetting, syntax highlighted code and an extensive API.
Want to create reveal.js presentation in a graphical editor? Try https://slides.com. It's made by the same people behind reveal.js.
Sponsors
Hakim's open source work is supported by GitHub sponsors. Special thanks to:
Getting started
- 🚀 Install reveal.js
- 👀 View the demo presentation
- 📖 Read the documentation
- 🖌 Try the visual editor for reveal.js at Slides.com
- 🎬 Watch the reveal.js video course (paid)
MIT licensed | Copyright © 2011-2023 Hakim El Hattab, https://hakim.se
Description
Languages
JavaScript
56.1%
HTML
27.2%
SCSS
16.3%
CSS
0.4%