Add support for internal and no-display blocks (not comments) #1989

Open
shahryareiv opened this Issue Jan 5, 2017 · 0 comments

Projects

None yet

1 participant

@shahryareiv
Contributor

internal blocks are those which are processed as normal blocks, take part in the flow of text (eg. they can cross-reference or being cross-referenced, but they are not being delivered to the rendering backend. A post-processing extension can use these blocks to create/modify an image/table that is included somewhere else in the document.

This allows sophisticated layouts, text overlays, and sophisticated tables

A very similar idea is suggested in #1958 , but this model might exclude the need for a render:: macro

no-display blocks are similar to display:none in css, they just signal the backend that this block should not be displayed. Foe the backend with interactivity support (such as HTML+Javascript), the content of the block can be used for dynamic rendering (or any other action)

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