//// Included in: - user-manual: Listing - quick-ref //// // tag::para[] [listing] This is an example of a paragraph styled with `listing`. Notice that the monospace markup is preserved in the output. // end::para[] // tag::bl[] ---- This is an example of a _listing block_. The content inside is displayed as
text. ---- // end::bl[] // tag::b-base[] .Gemfile.lock ---- GEM remote: https://rubygems.org/ specs: asciidoctor (1.5.6.1) PLATFORMS ruby DEPENDENCIES asciidoctor (~> 1.5.6.1) ---- // end::b-base[] // tag::subs[] :version: 1.5.6.1 [source,xml,subs="verbatim,attributes"] -------- // end::subs[] // tag::subs-out[] [source,xml] ---- org.asciidoctor asciidoctor-java-integration {version} ---- // end::subs-out[] // tag::nowrap[] [source%nowrap,java] ---- public class ApplicationConfigurationProvider extends HttpConfigurationProvider { @Override public Configuration getConfiguration(ServletContext context) { return ConfigurationBuilder.begin() .addRule() .when(Direction.isInbound().and(Path.matches("/{path}"))) .perform(Log.message(Level.INFO, "Client requested path: {path}")) .where("path").matches(".*"); } } ---- // end::nowrap[] org.asciidoctor asciidoctor-java-integration 1.5.6.1