https://github.com/mimosinnet/presentation
Display markdown document as slides
https://github.com/mimosinnet/presentation
Last synced: 3 months ago
JSON representation
Display markdown document as slides
- Host: GitHub
- URL: https://github.com/mimosinnet/presentation
- Owner: mimosinnet
- License: gpl-3.0
- Created: 2017-01-02T23:48:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-22T12:42:04.000Z (about 3 years ago)
- Last Synced: 2025-01-13T16:16:01.044Z (5 months ago)
- Language: Perl
- Size: 12.6 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Markdown to slides
**This is work in progress**
This is a draft of a Mojolicious application that converts markdown files into slides. The markdown files are in 'public/md/', and the meda for each slide in '/public/*presentation_number*'. There is a symlink in 'public/md/' to the media directory for for the markdown file to be able to find the media.
You can see examples of the:
* [Markdown File](https://github.com/mimosinnet/presentation/blob/master/public/md/01/Presentacio.md)
* [Slides Outline](https://github.com/mimosinnet/presentation/blob/master/ScreenShots/Outline.png)
* [Slides](https://github.com/mimosinnet/presentation/blob/master/ScreenShots/Slide.png)While seeing slides, click on the slide to go to the next slide and move the mouse at the top of the slide to see the list of slides.
The example shows the first presentation and it does not include all the presentations (size). The database needs to be created in the data folder, with the following chema:
```sqlite
sqlite> .schema
CREATE TABLE sqlite_sequence(name,seq);
CREATE TABLE IF NOT EXISTS "diapositiva" (
"id" INTEGER PRIMARY KEY NOT NULL,
"numero" INTEGER NOT NULL,
"html_code" BLOB NOT NULL,
"presentacio" INTEGER NOT NULL,
FOREIGN KEY("presentacio") REFERENCES "presentacio"("id")
);
CREATE TABLE IF NOT EXISTS "cursos" (
"id" INTEGER PRIMARY KEY NOT NULL,
"Curs" TEXT NOT NULL
);
CREATE TABLE IF NOT EXISTS "presentacio" (
"id" INTEGER PRIMARY KEY NOT NULL,
"Curs_id" INTEGER NOT NULL DEFAULT 1,
"Presentacio" TEXT NOT NULL,
"Diapositives" INTEGER NOT NULL,
FOREIGN KEY("Curs_id") REFERENCES "cursos"("id")
);