Sign inSign up

hairyhenderson/remarkjs

By hairyhenderson

Updated over 3 years ago

nginx-based hosting for external remarkjs slides.

Image
1

10K+

hairyhenderson/remarkjs repository overview

hairyhenderson/remarkjs

nginx-based hosting for external remarkjs slides.

Usage

  • mount your remark-formatted slides file to /slides.md
$ docker run -d -p 8080:80 -v $(pwd)/slides.md:/slides.md hairyhenderson/remarkjs
$ open http://localhost:8080

Development Usage

Enable development mode by setting the DEV_MODE environment variable to any value. Then, mount your slides at /usr/share/nginx/html/slides.md.

$ docker run -p 8080:80 -v $(pwd)/slides.md:/usr/share/nginx/html/slides.md -e DEV_MODE=true hairyhenderson/remarkjs
$ open http://localhost:8080

Overriding Styles

To customize the look and feel, you can provide your own stylesheet. If placed at /styles.css, it wi ll be copied into $WEBROOT/styles.css upon startup. While in development, mounting directly to /us r/share/nginx/html/styles.css will ensure local changes to the CSS will be reflected upon next refres h.

Tag summary

Content type

Image

Digest

sha256:37d77da79

Size

29.8 MB

Last updated

over 3 years ago

docker pull hairyhenderson/remarkjs