MarkdownPreview icon indicating copy to clipboard operation
MarkdownPreview copied to clipboard

Set permanent name of output html-file

Open zaitebaki opened this issue 6 years ago • 3 comments

I would like set permanent name of output html-file.

But every time I get various names of html-files, such as 82.html, 83.html, ... and I can't to contol this-)

Сan I fix this?

zaitebaki avatar Feb 06 '19 04:02 zaitebaki

What exactly are you wanting to do? When previewing, we generate a unique name each time. If I have two separate files in different folders with the same name, and they were to generate the same output name in the temp folder when previewing, you would overwrite your last preview. The only time we reuse an id is when you are using live reload, and are generating the same file.

If you are requesting that when generating a new iteration of an existing preview (without live reload) reuse the same name, that is something we could probably do.

Can you clarify exactly what your request is?

facelessuser avatar Feb 08 '19 16:02 facelessuser

I was talking about the second case you described above.

I work with many markdown-files, and after closing sublime I need apply "live reload" command for each md-file again.

So, if I make just one small change on md-file, press the shortcut key (i.e alt+m) is more convenient than set "live reload" option. And after this I want to have permanent name of output html-file.

zaitebaki avatar Feb 08 '19 16:02 zaitebaki

@gir-bot add T: feature

facelessuser avatar Nov 08 '19 03:11 facelessuser