Skip to content

[WIP] Add zip command#14

Open
hgoldstein wants to merge 1 commit into
masterfrom
hdg-export_as_zip
Open

[WIP] Add zip command#14
hgoldstein wants to merge 1 commit into
masterfrom
hdg-export_as_zip

Conversation

@hgoldstein

@hgoldstein hgoldstein commented Feb 7, 2017

Copy link
Copy Markdown
Owner
  • Works similar to pdf
  • Currently bugged with asciinema player

Will resolve #6, IMO.

* Works similar to `pdf`
Comment thread docker/Gruntfile.patch

zip: {
- 'reveal-js-presentation.zip': [
+ '/reveal-js-presentation.zip': [

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. I wish there was a better way to represent a diff of a diff
  2. I do this because currently I'm not sure how one writes to a union-fs, or if there's a way to set up the union to say "writes go to this directory"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Write to one of the component directories. The unioned directory is read only.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this is right.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

Comment thread scripts/zipper.py
import scripts.setup as setup
from scripts.config import image_name

def run(slides, local):

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that we use this logic multiple times it might be time for a cleanup of scripts.

@orangeturtle739

Copy link
Copy Markdown
Collaborator

This doesn't actually work because the markdown needs to get turned into HTML client side, and the client makes javascript requests to load the markdown files:
foo

@hgoldstein

Copy link
Copy Markdown
Owner Author

Yup; and I haven't been noticing cause I've been darkhttpding it 😢 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Static HTML export

2 participants