Currently utilizing Markup.JS, available at this link, which has been functioning effectively for the most part. The issue I am encountering pertains to accessing a variable from the parent loop. Here is the object that is passed to it:
https://i.sstatic.net/eT5L8.jpg
The template code snippet is structured as follows:
Works perfectly here: {{perms.link_modify}}
{{links_loop}}
<tr>
<td><a href="{{detailed_url}}" target="_blank">{{Title}}</a></td>
<td>{{if URL}}
<a href="{{URL}}" target="_blank">{{URL}}</a>
{{else}}
n/a
{{/if}}</td>
<td>
{{if isValidated}}
<!-- value not present here -->
foo: {{perms.link_modify}}
{{else}}
<!-- irrelevant to question -->
{{/if}}
</td>
</tr>
{{/links_loop}}
Upon execution, this specific segment:
foo: {{perms.link_modify}}
Displays as ??? (unrecognized variable). The underlying issue appears to be associated with its failure to comprehend that the source is intended to come from the root level rather than within the loop itself. Is there a method to instruct it to look one level up? (hopefully that explanation makes sense!)
For what it's worth, I acknowledge that simply duplicating the value of "perms" into the loop values is an option, but this would entail redundant data repetition and could introduce a messy workaround (especially when dealing with numerous items in the loop, requiring "perms" to be reiterated in each).
UPDATE: Recently stumbled upon this post: here
Presently using version 1.5.21, so I am exploring ways to implement the said changes (since they are not yet officially released)