
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
infosupport-kc-serve-fork
Advanced tools
serve @revealjs presentations straight from markdown and image files
Create and serve reveal.js presentations with ease.
Inspired by reveal-md.
npm i -g @infosupport/kc-serve
kc-serve --theme @infosupport/kc-cli-theme --highlight darkula
npm i --save @infosupport/kc-serve
package.json:
"scripts": {
"start": "kc-serve --theme @infosupport/kc-cli-theme --highlight darkula"
}
TypeScript:
import serve from '@infosupport/kc-serve';
try {
serve({
cwd: process.cwd(),
title: 'title',
theme: 'beige', // or a package
highlight: 'darkula.css',
footer: './my-footer.html'
}).listen(port)
.then(url => console.log(url))
.catch(err => console.error(err.message));
} catch (err) {
console.error(err.message)
}
folder | description |
---|---|
./slides | slides (markdown, png, gif, jpg & svg) |
./img | image files (from markdown:  ) |
./css | custom css |
The options are the same for the library as the command line except the first accepts a working directory and the latter default opens the presentation in the browser.
option | description |
---|---|
--theme | resolve to reveal.js theme |
--highlight | resolve to highlight.js style |
--port | serve from specified port |
--no-open | don't open presentation in browser |
--footer | resolve to markup to be included in footer of every slide |
Pick a highlight style from demo or use the css file name from source
Use a default reveal.js theme: black, white, league, beige, sky, night, serif, simple or solarized (see: reveal.js#theming) or use a package containing a custom theme (it should resolve to the css via 'main' or explicitly), or override (parts of) a theme with a custom css in the ./css folder

img[alt='alt-text']
or filename img[src='img/your-image.jpg']
Wrap your own CLI around the library to create a tool with a custom default theme and/or highlight style. Take a look at bin/cli.ts
for inspiration.
The main differences with reveal-md are:
Why not contribute to or fork reveal-md? When I tried to cut down the source I found it very entangled. It was a great start to find out what I needed but it was more easy to rebuild it from scratch.
FAQs
serve @revealjs presentations straight from markdown and image files
We found that infosupport-kc-serve-fork demonstrated a not healthy version release cadence and project activity because the last version was released 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.