We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26c866a commit 70f488bCopy full SHA for 70f488b
conf/public/js/asciidoctor-data-line.js
@@ -9,12 +9,15 @@ Object.prototype._is_nil = function (name) {
9
asciidoctor.Extensions.register(function () {
10
this.treeProcessor(function () {
11
const self = this;
12
+ const selector = JSON.stringify({
13
+ traverse_documents: true
14
+ });
15
self.process(function (parent, reader) {
16
17
if (parent._is_nil("apply-data-line"))
18
return parent;
19
- parent.$find_by().forEach(function (node) {
20
+ parent.$find_by(selector).forEach(function (node) {
21
if (node && node.$source_location) {
22
if (node.$source_location().lineno) {
23
var nodeName = node.node_name;
@@ -26,4 +29,4 @@ asciidoctor.Extensions.register(function () {
26
29
27
30
});
28
31
-});
32
+});
0 commit comments