MEP29: Text light markup
Status
Discussion
Branches and Pull requests
None at the moment, proof of concept only.
Abstract
This MEP proposes to add lightweight markup to the text artist.
Detailed description
Using different size/color/family in a text annotation is difficult because the
text method accepts argument for size/color/family/weight/etc. that are used
for the whole text. But, if one wants, for example, to have different colors,
one has to look at the gallery where one such example is provided:
Concatenate text objects with different properties
This example takes a list of strings as well as a list of colors which makes it cumbersome to use. An alternative would be to use a restricted set of -like markup and to interpret this markup.