Asciidoctor:如何并排布局两个代码块?

Asciidoctor: how to layout two code blocks side by side?

是否可以使用 Asciidoctor 并排放置两个代码块?我在 documentation 或 SO 上找不到任何示例。

是:

= Side by side

Enjoy these code samples:

[cols="a,a", options="header"]
|===
| JavaScript
| Perl

|
[source, javascript]
----
console.log('Hello World!')
----

|
[source, perl]
----
#!/usr/bin/env perl

print "Hello World!\n"
----
|===

产生: