docsify-slides
v1.0.4
Published
A docsify plugin for creating slideshow-like pages.
Downloads
325
Maintainers
Readme
docsify-slides
A plugin for docsify
that allows you to write documentation which acts like a slideshow.
Install
Simply include the plugin with your docsify
project:
<script src="//unpkg.com/docsify-slides/dist/docsify-slides.min.js"></script>
NOTE: This plugin works best in combination with
docsify-pagination
plugin. Be sure to also enable this plugin on your docsify site for the full experience.
What is it?
This is a simple plugin which gives you a flexible two-column layout via a custom markdown syntax.
Just add:
<!-- slide:break -->
or
<!-- slide:break-# -->
where #
is the percent of the total width you want the left side of the slide to be. (i.e. <!-- slide:break-60 -->
)
Check out the example.
Features
- Responsive two column layout for your markdown pages.
- Reduced margins and spacing to maximize presentation real estate.
docsify
sidebar is closed by default, and closed sidebar behavior is fixed on mobile screens.
If you enable docsify-pagination
:
- Navigate between pages with
<-
and->
keys. docsify-pagination
acts as a sticky footer, so it is always visible on screen.