Open cross-hello opened 4 years ago
To reproduce:
test
test2
I would see the problem as a bug. Did someone want to export html just coulde be used in native place? = - =
I never tried this but maybe you can safe the entire page as HTML in your web browser.
maybe they could add an option popup when exporting the html so the user could choose between full paths vs relative paths?
or alternatively this could be something that could be chosen in the Preferences section, so the user can choose if they want full paths or relative paths like that. probably be easier to do it that way.
Current behavior
I export md to html. And I found something that will cause the style of HTML invalid if someone change the name of directory from which md export. Here are the operative step:
Before operation
After operation
I think the problem is in here.
It shouldn’t occur for the existence of base href element, which seem use a absoluute path that may cause the file unable moving to another computer. Also it had some responding linked css stylesheet need to change its path. ( In fact, I originally want to upload the photo of linked css elements. But I found I can't-- it is another bug = - =)
It will be ok if delete the base href and change the href above to the new relative paths.
Expected behavior
The output of HTML should not be influenced via the positon.
Steps to reproduce
Environment