Skip to content

Modular formatting #8

@sebastiankuhnert

Description

@sebastiankuhnert

Is it possible to separate the text formatting from the "markup" formatting used for URLs?
One way to do this could be to define "outer styles" that receive both the parsed passage data structure and the formatted string as parameter. If more elementary control over the formatted chunks is needed, this could be achieved by enriching the passage/range data structure macros, using the respective formatted string as additional parameter.

Maybe this proposal becomes almost automatically realized, once the string formatting is done using bibleref's style system (issue #6): The latter could be statically used for text formatting, while bibleref-mouth's style system would remain in place for formatting of hyperlinks and the like.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions