From ec7b1469ab200723348c5590308d24cd24c10010 Mon Sep 17 00:00:00 2001
From: Matthew Hague <matthew.hague@rhul.ac.uk>
Date: Fri, 27 May 2022 14:05:05 +0100
Subject: [PATCH] Add note about distribution

---
 README.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/README.md b/README.md
index 6b3f5b8..5880d9c 100644
--- a/README.md
+++ b/README.md
@@ -55,4 +55,13 @@ yourself. A sample is in cs1811.css in this repository.
 
 Uh, simple?
 
+## Distributing Slides
+
+The produced HTML file is not standalone -- the images, styling, and JavaScript will all be in separate files that are loaded when the page is loaded.
+
+To make distribution easier, you can collate everything into one HTML file using an inlining tool. I use [inliner][inliner]. With inliner i run:
+
+    $ inliner --nosvg --skip-absolute-urls chapter1.html > chapter1-dist.html
+
 [slideshow-s9]: http://slideshow-s9.github.io/
+[inliner]: https://github.com/remy/inliner
-- 
GitLab