asciidoctor cross reference formatting
Posted by
instinctive on
Oct 18, 2019; 9:09pm
URL: https://discuss.asciidoctor.org/asciidoctor-cross-reference-formatting-tp7253.html
My cross references are surrounded by brackets: <<apple>> => [apple].
How can I get rid of those square brackets? I just want the anchor text!
Thank you!
$ asciidoctor --version
Asciidoctor 1.5.6.1 [
http://asciidoctor.org]
Runtime Environment (ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
$ cat apple.adoc
[[apple]]A paragraph about apples.
A paragraph about <<apple>> pie.
$ asciidoctor apple.adoc
$ grep apple apple.html
<p>
A paragraph about apples.</p>
<p>A paragraph about
[apple] pie.</p>