At https://marketplace.eclipse.org/comment/7166#comment-7166 a user mentioned problems with rendering yaml files inside editor plugin.
So tried out with Asciidoctor Editor Version 2.2.0
Example contains embedded way (version 1) and also included variant (version 2):

But it works out-of-the-box without any problems.