2018.8 @AlloVince
Convert any Gist Markdown file in to a slide show powered by Reveal.js
https://AlloVince.github.com/gimare/?YOUR_GIST_ID
theme | separator | verticalSeparator | transition |
---|---|---|---|
moon |
=== |
==== |
zoom |
Convert any Gist Markdown file in to a slide show powered by Reveal.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const crypto = require('crypto'); | |
const fs = require('fs') | |
const fileBuffer = fs.readFileSync(filePath); | |
const fsHash = crypto.createHash('sha256'); | |
fsHash.update(fileBuffer); | |
const hash = fsHash.digest('hex'); | |
console.log(hash); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mhart/alpine-node:8 | |
#RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/' /etc/apk/repositories | |
# Add bash support | |
RUN apk add --update bash && rm -rf /var/cache/apk/* | |
RUN apk add --no-cache \ | |
xvfb \ | |
# Additionnal dependencies for better rendering |
OlderNewer