Skip to content
This repository was archived by the owner on Nov 10, 2020. It is now read-only.
This repository was archived by the owner on Nov 10, 2020. It is now read-only.

[Notebook/Presentation] Add new special metadata tags #109

@ebertmi

Description

@ebertmi

We could support following special metadata keys:

  • spectacle.bgImage: Set a background image for the cell
  • spectacle.bgDarken: Float value from 0.0 to 1.0 specifying how much to darken the bgImage image
  • spectacle.bgColor: Set backgroundColor value
  • align: Accepts a space delimited value for positioning interior content. The first value can be flex-start (left), center (middle), or flex-end (bottom). The second value can be flex-start (top) , center (middle), or flex-end (bottom). You would provide this prop like align="center center", which is its default.

All those attributes should be interpreted in the presentation and in the notebook. On the notebook the settings should be only interpreted for slides

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions