>>> Is there a possibility to register this or a similar function globally >>> so that all markup strings can use it? > > It is the same mechanism, and add-text-replacements! answers > Werner’s question.
Thanks. I only did a quick index search for 'replace' in the NR, and there was no hit. This is now https://gitlab.com/lilypond/lilypond/-/merge_requests/1814 Werner