diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2023-05-16 23:55:25 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2023-05-17 00:46:52 -0600 |
| commit | 6b2ab72ffccd653ad2daf3e05c3712d3f1ad4708 (patch) | |
| tree | b6134ee4ee8cbff353966d7a5797a8d22d0d47bf /docs/modules/html-backend | |
| parent | f717cc76330eedfc627995437409ab2e8385cefa (diff) | |
fix cases when source style is missing on literal block in docs
Diffstat (limited to 'docs/modules/html-backend')
| -rw-r--r-- | docs/modules/html-backend/examples/wrap.adoc | 2 | ||||
| -rw-r--r-- | docs/modules/html-backend/pages/verbatim-line-wrap.adoc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/modules/html-backend/examples/wrap.adoc b/docs/modules/html-backend/examples/wrap.adoc index 3f877d7d..9060f4d4 100644 --- a/docs/modules/html-backend/examples/wrap.adoc +++ b/docs/modules/html-backend/examples/wrap.adoc @@ -1,5 +1,5 @@ // tag::nowrap[] -[source%nowrap,java] +[%nowrap,java] ---- public class ApplicationConfigurationProvider extends HttpConfigurationProvider { diff --git a/docs/modules/html-backend/pages/verbatim-line-wrap.adoc b/docs/modules/html-backend/pages/verbatim-line-wrap.adoc index a032a193..f77c465f 100644 --- a/docs/modules/html-backend/pages/verbatim-line-wrap.adoc +++ b/docs/modules/html-backend/pages/verbatim-line-wrap.adoc @@ -15,8 +15,8 @@ There are two ways to prevent lines from wrapping so that horizontal scrolling i You can use the `nowrap` option on literal or listing blocks to prevent lines from being wrapped in the HTML. -// FIXME this section is creating broken AsciiDoc!! .Listing block with nowrap option syntax +[source,asciidoc] .... include::example$wrap.adoc[tag=nowrap] .... @@ -30,7 +30,7 @@ include::example$wrap.adoc[tag=nowrap] To prevent lines from wrapping globally, unset the `prewrap` attribute on the document. .Disable prewrap globally (thus, enabling nowrap) -[source,asciidoc] +[,asciidoc] ---- :prewrap!: ---- |
