Skip to content

lua,meta - resolve int keys as ints#8110

Merged
cscheid merged 1 commit intomainfrom
bugfix/8086
Jan 3, 2024
Merged

lua,meta - resolve int keys as ints#8110
cscheid merged 1 commit intomainfrom
bugfix/8086

Conversation

@cscheid
Copy link
Collaborator

@cscheid cscheid commented Jan 3, 2024

Closes #8086.

This "resolves" the issue by allowing meta arrays to be indexed. The syntax is a bit clunky, but the regression test includes a minimal example:

---
title: issue-8086
testkey:
  - "value 1"
  - "value 2"
testkey2:
  testkey: testvalue
_quarto:
  tests:
    html:
      ensureFileRegexMatches:
        - 
          - "testvalue"
          - "value 1"
---

{{< meta testkey.1 >}}

{{< meta testkey2.testkey >}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot insert funding meta tag in document. Access array elements in shortcodes like {{< meta >}}

2 participants