Re: Table include macro - tab-delimited files
Posted by
mojavelinux on
Mar 14, 2017; 4:19am
URL: https://discuss.asciidoctor.org/Table-include-macro-tab-delimited-files-tp5374p5375.html
Tables can, in fact, use tabs as a delimiter. (The name of the attribute is separator). The only caveat is that you must specify the value using a literal tab character, not an escape code.
I put the example in a gist so as not to lose the formatting (and to demonstrate it in action)
I'll add an enhancement to Asciidoctor to allow the separator to be specified using the escape code, \t.
[separator=\t]
Cheers,
-Dan