playgroundbooks / playgroundbook

Tool for Swift Playground books
https://ashfurrow.com/blog/swift-playground-books/
MIT License
259 stars 17 forks source link

Don’t default to edge to edge live views #36

Closed pietbrauer closed 8 years ago

pietbrauer commented 8 years ago

I encountered a bug which led to the live view being scaled up quite a bit.

Before change:

img_0411

After change:

img_0410

Ideally this would be customisable in the book.yaml but I wasn't sure on how to achieve this as the chapters are currently [String] and should become [String: String]:

Before:

chapters:
  - "Chapter 1"
  - "Chapter 2"

After:_

chapters:
  - name: "Chapter 1"
     EdgeToEdgeLiveView: true
  - name: "Chapter 2"
     EdgeToEdgeLiveView: false
ashfurrow commented 8 years ago

Good question, I like the idea. Want to open an issue to discuss the yams format?