Skip to content

Proposal: Change HTML comment trigger string to something which identifies this plugin e.g. dataview-serializer-queryΒ #38

@vergenzt

Description

@vergenzt

Purpose

For SEO, so it's more obvious what plugin these comments pertain to when encountering them out of context (e.g. newcomers to a shared vault). πŸ™‚

This may also help to more easily identify what the query syntax is (and find its docs).

Example

Current syntax:

<!-- QueryToSerialize: <...query...> -->
<!-- SerializedQuery: <...query...> -->
...
<!-- SerializedQuery END -->

Proposed syntax:

<!-- dataview-serializer-query: <...query...> -->
<!-- dataview-serializer-result: <...query...> -->
...
<!-- dataview-serializer-result-end -->

Caveats

  • The old QueryToSerialize syntax should probably just be deprecated (indefinitely), not removed. No need to break backcompat for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions