mark
mark copied to clipboard
Fix for relative links
Hi Kovetskiy, First of all, thank you for creating this great repo.
I have done some effort to resolve kovetskiy/mark#55, I think the main cause for this is here which makes Mark failed to find relative links. I fixed it with code here.
Besides that, I add a "-L" option so that Mark can take many files at the same time as input. I did that to let users be able to synchronize files references with relative links to each other. I add a loop here to retry resolve relative links after everything was synchronized to Confluence once.
I tested this with the Github action I forked and modified it, and Mark works as my expectation. Leave some comments if you feel some code needs to be changed.
PS: This JackTheMico is my personal account, I guess there is a misconfiguration of my git :smile: .
I had the problem with relative links I made a quick test (confluence cloud 1000.0.0-a50a53c8c11e) and it solved the proble for me (the links were not recognized/displayed by confluence)
Thanks to all of you for your work and help
@jack-fireworkhq , @kertechs is this PR good to be merged ?
@jack-fireworkhq , @kertechs is this PR good to be merged ?
It works for me and my team. I'd recommend you try it first before merging it
I'd be eager to have this feature merged