mark icon indicating copy to clipboard operation
mark copied to clipboard

Bug in Templates?

Open Skeeve opened this issue 2 years ago • 2 comments

I had two macros referencing files "command.start" and "command.end".

Unfortunately the last one didn't work. Instead the first one was always applied.

I found the reason in this line:

https://github.com/kovetskiy/mark/blob/5428cc683302a7679901e23d4e97fc83838a788b/pkg/mark/includes/templates.go#L29

Is there any reason for using just the filename without path and extension as the name?

Skeeve avatar Jun 01 '22 13:06 Skeeve

Not really, we can remove this operation. It's mostly for dropping .template or other file extensions.

kovetskiy avatar Jun 06 '22 06:06 kovetskiy

Not really, we can remove this operation. It's mostly for dropping .template or other file extensions.

Will you do?

Skeeve avatar Jun 06 '22 20:06 Skeeve