Skip to content

Blocks and sections #20

@jamesplease

Description

@jamesplease

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...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions