Replies: 2 comments 3 replies
-
@klappy @superdav42 "Context-specific augmented content" is my proposal for supporting 'warnings' (and much more). It avoids wrapping every single piece of text in a span 'just in case', but we can do that when there's specific content to attach and, for the consuming processor, that will look exactly like any other 'scope-like' markup (in the Proskomma sense of 'scope'). Does this look like it could support what we want, or, at the least, the next few iterations of experiments? |
Beta Was this translation helpful? Give feedback.
-
@abelpz All suggestions on how to make the permalink part of this proposal work would be very welcome! |
Beta Was this translation helpful? Give feedback.
-
Please post proposals for specific changes to the PERF schema below. (Let's do wider discussions elsewhere.) I'll maintain the list in this description on the basis of comments below.
Names
block
inblockOrGraft
(ie children of a sequence) toparagraph
Roll back existing preview features
nBlocks
andfirstBlockScope
attributes from graftspreviewText
attribute on grafts optional (in case downstream processors need it)selected
flagBetter graft support
target
andnew: true
to request a graft to a new, empty sequenceSupporting remaining USFM features
Context-specific augmented content
augmented
array of typed objects, attached to any item, as a mechanism for upstream PERF processors to push content-specific additional content to the editor, eg chapter/verse consistency, spell checks, relevant permalinks... The objects should have a consistent, defined structure, with an enum of known functionality plus provision forx-*
extensions.augmented
scope-like option (ie similar to \wj) for items so that augmented content may be attached to 'bare' text and to arbitrary item ranges within a paragraphMiscellaneous
Beta Was this translation helpful? Give feedback.
All reactions