Skip to content

Feature request: Tag/Marker instead of fixed line numbers #6

@sboehmann

Description

@sboehmann

Currently I can embed parts of code by specifying the line numbers:

PATH: "vault://main.cpp"
LINES: "30-40"

However, I would like to request for a somewhat more stable tagging. Line numbers are very fragile. ;-)

Something like:

PATH: "vault://main.cpp"
TAG: example1

Thereby my main.cpp would contain something like this:

// [embed-start:example1]
int main() {}
// [embed-end:example1]

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