Disable wrapping in Asciidoctor HTTP request and response snippets

The HTTP request and response snippets are intended to be an exact
representation of the HTTP request or response which would not wrap.
This commit disables wrapping by adding the nowrap option to the
default templates for these two snippets.

Closes gh-204
This commit is contained in:
Andy Wilkinson
2016-04-12 17:50:56 +01:00
parent 8b039e5f81
commit bab779ac91
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
[source,http]
[source,http,options="nowrap"]
----
{{method}} {{path}} HTTP/1.1
{{#headers}}

View File

@@ -1,4 +1,4 @@
[source,http]
[source,http,options="nowrap"]
----
HTTP/1.1 {{statusCode}} {{statusReason}}
{{#headers}}