It is possible to nest music inside markups, by adding a \score
block to a markup expression. Such a score must contain a \layout
block.
\relative { c4 d^\markup { \score { \relative { c4 d e f } \layout { } } } e f }
This page is for LilyPond-2.5.11 (development-branch).