Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocks and sections #20

Open
jamesplease opened this issue May 11, 2014 · 0 comments
Open

Blocks and sections #20

jamesplease opened this issue May 11, 2014 · 0 comments

Comments

@jamesplease
Copy link
Member

I like the idea of blocks in Gistbooks being independent, so you could, for instance, show two outputs on the same Gistbook. That seems really useful.

I also like the idea of the blocks being together, so you could break up definitions into multiple 'files' to be executed together.

How could I incorporate this into the gistbook format? One solution might be "sections" and "blocks" (the naming may need some work). Using the current naming, a section would enclose multiple blocks. Each section would have an output (an iFrame). You could execute the sections independently of one another.

The demarcation between sections could be a dark, 1px line that spans the whole width of the gistbook. Sections might also have titles.

But maybe I shouldn't do this? This is technically creating sub-books within a book. It also adds complexity to the interface. Maybe users should always create n Gistbooks if they want n outputs...hmmm...

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

No branches or pull requests

1 participant