Create a new template plugin for an "Inline Index". This will be similar to the existing "Index" template, except for each table entry, it will display text, entryDetails, and references all on a single line.
For now, can just implement the Preview, EditProperties, and EditMetadata parts of this. (We haven't implemented any finalization processing for template plugins yet.) The Preview will require some string manipulation trickery. We want to ensure that each text, entryDetail, and references item is separated by a period and single space. But we need to ensure we don't end up with, for example, two periods followed by a space, a space followed by a period followed by a space, a question mark followed by a period, followed by a space, etc.
The string manipulation that we use on the preview will also be used for the eventual finalization processing.
Create a new template plugin for an "Inline Index". This will be similar to the existing "Index" template, except for each table entry, it will display
text
,entryDetails
, andreferences
all on a single line.For now, can just implement the Preview, EditProperties, and EditMetadata parts of this. (We haven't implemented any finalization processing for template plugins yet.) The Preview will require some string manipulation trickery. We want to ensure that each
text
,entryDetail
, andreferences
item is separated by a period and single space. But we need to ensure we don't end up with, for example, two periods followed by a space, a space followed by a period followed by a space, a question mark followed by a period, followed by a space, etc.The string manipulation that we use on the preview will also be used for the eventual finalization processing.