embed-code-file
embed-code-file copied to clipboard
Feature request: Tag/Marker instead of fixed line numbers
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]