An open API service indexing awesome lists of open source software.

https://github.com/zsnout/simple-slideshows

A project enabling anybody to easily create beautiful slideshows from Markdown documents.
https://github.com/zsnout/simple-slideshows

Last synced: over 1 year ago
JSON representation

A project enabling anybody to easily create beautiful slideshows from Markdown documents.

Awesome Lists containing this project

README

          

# Simple Slideshows Starter Kit

Welcome to Simple Slideshows! If you haven't downloaded this project already, do
so now by running `git clone`.

```sh
git clone https://github.com/zSnout/simple-slideshows.git
```

To create new slideshow decks, add Markdown files to the `decks` folder. Simple
Slideshows will automatically create slides at each level 1 & 2 heading. For
example, this code...

```md
# Hello world

A presentation made with Simple Slideshows

## A slide

With some content.
```

...will generate two slides: a title slide for the level 1 heading, and a
standard slide for the level 2 heading.

## Slide Guidelines

Simple Slideshows doesn't support everything, but it can do most anything you'll
like. The heading of a slide automatically becomes its title, and everything
else is turned into content.

Simple Slideshows supports...

- Paragraphs
- Lists (unordered and ordered)
- Tables
- Code blocks
- LaTeX equations
- Background images

## Background Images

To mark something as a background image, write "background" in place of its alt
text.

```md
![background](/path-to-my-image.jpg)
```

This makes the background cover the entire slide. Because of the cover behavior,
some of your image may be chopped off. To prioritize a certain side of the
image, add `b`, `t`, `r`, or `l` to the alt text, or a combination of two
directions.

```md

![background t](/path-to-my-image.jpg)
```

```md

![background br](/path-to-my-image.jpg)
```

## Theming

To change the theme of your slideshow, open `.astro/src/components/Layout.astro`
and change the class name of the `` tag to something other than
`z-slate-light`. Currently, there are ten themes available:

- z-slate-light
- z-slate-dark
- z-zinc-light
- z-zinc-dark
- z-gray-light
- z-gray-dark
- z-neutral-light
- z-neutral-dark
- z-stone-light
- z-stone-dark

If you know CSS, you can also customize your theme by opening `theme.postcss`
and modifying the styles included in it.

## Homepage information

To change the title and subtitle shown on your project's homepage, edit their
respective variables in `.env`.

## Slideshow meta-information

To add meta information to a slideshow, use simple YAML metadata.

```md
---
key_1: true
key_2: hello world
---

...
```

Currently, slideshows can adjust these options. More may be added in future
updates to Simple Slideshows.

```yaml
# Assigns the slideshow a category. This is
# visible on the homepage of your site.
category: Your category here

# Hides a slideshow from the homepage. It
# will still be accessible through URLs.
hidden: true

# Overrides the default title of your
# slideshow with a manual one.
title: Your slideshow title
```

## Publishing to Vercel and Netlify

To make working with the repo more ergonomic, the main Astro project underlying
Simple Slideshows is packed into an `.astro` folder. As such, the project output
will be located in `.astro/dist`, not `dist`. You may need to configure Vercel,
Netlify, and other cloud providers to handle this case.