How to force a line feed in a Maven-generated adoc?
Posted by RickEEE on Jun 27, 2019; 4:53pm
URL: https://discuss.asciidoctor.org/How-to-force-a-line-feed-in-a-Maven-generated-adoc-tp6971.html
In my documentation, I'm including an adoc file that is auto-generated by a Maven build.
Example
[cols="40%,12%,~a", width=100%]
include::response/response_fields.adoc[]
The adoc is a table with the first column containing a pathname string that can be very long, which currently arbitrarily wraps in unwanted places in the PDF output.
During PDF rendering, I'd like to force line feeds after every array indicator "[]."
From this...
array1[].subarray1[].subarray2[].subarray3[].description
To this...
array1[].
subarray1[].
subarray2[].
subarray3[].
description
Suggestions??