slides

create, live-preview, edit, and publish reveal.js slide decks

  • Owner: bketelsen/slides
  • Platform:
  • License:: Other
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Slides

MIT licensed

This repo is a reworked version of Sandstorm Hacker Slides which features easy set up run outside of Sandstorm and without vagrant-spk. Likewise you can publish and edit your previous markdown slides which is not supported in the original version.

Video Demo

Features:

  • Reach ui editor
  • Markdown markup
  • Live reload
  • Color schemes
  • Pdf print
  • Live version

Getting Started

Install from releases: releases
coming soon : brew, apt, and friends

Install from Source:

go get github.com/bketelsen/slides

Initialize a New Slide Repository

slides init [reponame]

slides init mytalks
cd mytalks
git init
git add --all

Then edit anything you want to change in publish.tmpl for individual slides and root.tmpl for the talk listing page.

slides init clones https://github.com/bketelsen/slides-template into the mytalks directory as a base for your decks. The web assets in this directory are used to build the HTML files for your slides.

Directory Structure Of a Slide Repository

If you ran slides init mytalks your directory structure should look like this:

/mytalks --> repo root
    /public --> output files from `slides build`, published HTML
    /slides --> your slide decks, in Markdown format
    /static --> files used for `slides dev` local server
    /templates --> Go template files for `/public` and `/static`
    /initial-slides.md --> the template file used for `slides new {name}`

Create New Slide Deck

slides new mydeckname

Run Development Server (With Live Editing!)

slides dev

Visit localhost to see your slides and make live edits.

Prepare for HTML Publishing

slides build

For maximum awesome, run slides build and setup Netlify or another static host to publish your /public directory.

Use local images

Store pictures you want to use in the images subfolder, slides/images/ and reference them in the editor as Markdown:

![demoPicture](/images/demo.png)

or as HTML:

<img src="/images/demo.png">

Screenshots
----, Edit mode, Published, ---, ---, 1st, 1st, 2nd, 2nd, Built on Open Source

This project is a heavily modified fork of hacker-slides and is built on the Shoulders of Giants

Getting Help

For feature requests and bug reports submit an issue
to the GitHub issue tracker

Main metrics

Overview
Name With Ownerbketelsen/slides
Primary LanguageJavaScript
Program languageDockerfile (Language Count: 6)
Platform
License:Other
所有者活动
Created At2018-08-10 17:49:49
Pushed At2023-03-07 01:21:46
Last Commit At2020-08-19 14:11:15
Release Count5
Last Release Namev0.0.5 (Posted on )
First Release Namev0.0.1 (Posted on )
用户参与
Stargazers Count86
Watchers Count3
Fork Count4
Commits Count35
Has Issues Enabled
Issues Count22
Issue Open Count11
Pull Requests Count7
Pull Requests Open Count8
Pull Requests Close Count3
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private