How do you embed marks and custom syslings to each other?

Posted by benibilme on
URL: https://discuss.asciidoctor.org/How-do-you-embed-marks-and-custom-syslings-to-each-other-tp7816.html

Hello,

I have text that needs to be small compared to other text and I would like to underline part of it. Below structure is failing. How can I achive this without going to sytlye sheet which I do not control or writing pure html.

test.adoc

This is normal sized text. [.small]#This is small text. [.underline]#However this part must be small and underlined## 

Thanks in advance...