
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
remarkableslides
Advanced tools
A CLI tool that makes it feel good to create slides from markdown files.
Make slides from markdown files using remark.js.
Run the following and it will recursively look for .md files starting from the directory you are in.
$ npx remarkableslides
Or install it globally:
$ npm install -g remarkableslides
Now you can run it like this:
$ remarkableslides
<div class="title-card">
<h1>Try Remarkable Slides now!</h1>
</div>
---
# Slide Title
Some text.
* Both bullet points
* And numbered lists
1. Are Supported
2. And can be nested
`---` is used to denote the next slide.
> This is a quote
**Bold** text and *italic*.
<div style="color: cyan; font-size: 20px; text-shadow: 2px 2px 4px #aaa;">
You can also embed HTML into your markdown
</div>
---
# Image slide
<img src="https://raw.githubusercontent.com/anderslatif/remarkableslides/main/assets/remarkableslides_logo.png"
alt="Remarkable Slides Logo"
style="height: 40vh;"/>
<!-- You can point to local files as well -->
<!-- Use img tags to make the images appear on GitHub as well -->
---
# Example of a video slide
## What is DevOps?
[](https://www.youtube.com/watch?v=kBV8gPVZNEE)
---
# Code slide
There is support for syntax highlighting of multiple languages.
Just specify the language after the three backticks.
---
# Table slide
| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Row 1 | Row 1 | Row 1 |
| Row 2 | Row 2 | Row 2 |
| Row 3 | Row 3 | Row 3 |
---
# Pros and cons lists
* (+) Pro 1
* (+) Pro 2
* (-) Con 1
* (-) Con 2
* (!) Note!
<!-- The above will still render in markdown but in the HTML presentation
'* (+/-/!)' becomes a bulleted list with the sign in paranthesis as the bullet point.
Basically the above will render as:
<ul style="list-style-type: '+ '"><li>Pro 1</li><li>Pro 2</li></ul>
<ul style="list-style-type: '- '"><li>Con 1</li><li>Con 2</li></ul>
<ul style="list-style-type: '! '"><li>Note!</li></ul>
-->
remarkableslides command in the directory and notice how it creates presentation.html.$ npx remarkableslides
Check out localhost:1234. That's all!
The server will watch for changes. Change something and it will reload the page automatically.
The result should look like this:
All flags are optional. The default behavior is that it compiles markdown files into presentations. Markdown linting and spell checks are disabled by default. The server that runs the presentations are also disabled by default.
You can always run:
$ npx remarkableslides --help
Modes
| Flags | Description |
|---|---|
--check-mode | Default: False. Skips presentation creation. Ideal for spell checking or linting only. |
--listen-mode | Default: True. Enables file monitoring without starting a server. Automatically deactivated with --check-mode. |
--live-mode | Default: True. Enables server deployment for presentations. Automatically deactivated with --check-mode. |
Server options
| Flag | Description |
|---|---|
--live-port=<port_number> | Specify the desired port for the server. |
Output Options
| Flag | Description |
|---|---|
--output-md | `Output to a single md file titled 'presentation.md'. |
--convert-to-pdf | Output a pdf (will not have any formatting). |
Use <div class='ignore-output-md'>...</div> to exclude the enclosed content from the markdown output. This content, however, will still be visible in the presentation.
Use <div class='ignore-presentation'>...</div> to exclude the enclosed content from the presentation.
CSS Options
| Flag | Description |
|---|---|
--theme <type> | Specify a pre-made theme for the presentation. |
--css <path> | Specify a CSS file to use for the presentation. |
Other Options
| Flag | Description |
|---|---|
--lint | Lints the markdown files. |
--spell-check | Enables spell checking on the markdown files. Only supports English. |
--add-table-of-contents | A table of contents will be inserted as the first slide. |
--correct-markdown-list-numbering | Makes sure that numbers are in chronological order. Also works for nested lists. |
Press F for full-screen.
Press C to clone the window.
Press P to see the presenter view. Everything in each slide written after ??? will be considered a presenter note.
By default, a server starts on port 1234 and serves all created presentation files.
Endpoint names are derived from markdown file names. For directories containing multiple markdown files, endpoint names are combinations of those file names. If uniqueness is not achieved, folder names are incorporated into the endpoint name to ensure it is unique.
To get an overview of endpints just visit localhost:1234.
Use the --live-port flag to specify a different port.
Here are all the different ways to change the CSS theme for the presentation:
Edit the <style> tag in the presentation.html file.
(Will not work with live reload).
Add CSS files in the same directory as the markdown files.
When invoking the command use the --css flag:
$ npx remarkableslides --css ../../link/to/your/css_file.css
You can choose a theme with the --theme flag.
$ npx remarkableslides --theme default
The behavior is that the CSS theme is set to
defaultif no theme is specified. If a CSS file is found then it will be used instead.It's possible to mix your own CSS file with a theme by adding the
--themeflag.
The current support for CSS themes are:
| CSS Theme |
|---|
| default |
The theme name corresponds to the file names in the ./lib/presentationUtil/css directory without the .css extension.
If you would like to have your reasonable personal theme included in the library then make a PR with the CSS file to that folder.
All prsentations are named presentation.html. This helps when wanting to add them to a .gitignore.
When serving a presentation the folder and its subfolders are served as static content. That allows images to be served with the presentation.
If there are multiple markdown files in a directory, they will read them by alphabetic order and assembled into a single presentation.
Ignored folders: node_modules.
Ignored files: README.md, CONTRIBUTING.md, CHANGELOG.md.
Feel free to create an issue.
FAQs
Build Markdown files into slides using remark.js
We found that remarkableslides demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.