The StandardWriterResolver currently replaces placeholders (e.g. {method-name}) in the first argument, but not the second, which limits the layout of the snippets a bit. It would be useful to be able to put placeholders in both strings. That way you can have asciidoc snippets in one directory and json (or whatever) in another.