I have a document with many similar tables. I thought it is possible to set this table cols and header as attribute
:table-params: width="100%",cols="12%,21%,67%",options="header"
:table-header: |this |is |header
.table
[{table-params}]
|====
{table-header}
but its get en error: table missing leading separator. Looks like asciidoc can't post-render attribute values. pass macro also didn't help
I found a solution with include macro with tag
.table-1
|====
// tag::table-header[]
|this |is |header
// end::table-header[]
.table-2
|====
include::example.adoc[tag=table-header]
Maybe I have missed something. What is a most elegant way to reuse marked-up parts across document?
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)