Skip to content

d-cite attribute key is reserved key in Vue #111

Description

@SumNeuron

The template component uses d-cite (v2) and <dt-cite> (v1) uses the node attribute key to specify citations. Vue reserves the key attribute and therefore d-cite / dt-cite is not compatible with Vue.

Please consider either adding optional attribute namespace to be configurable in say d-front-matter or have a fallback attribute e.g. $key for compatibility

example:

<d-front-matter>
  - distill-namespace: dp$

</d-front-matter>

<!-- -->

<d-cite dp$key=""/>

or just

<d-cite $key=""/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions