In a recent post by @Zuzia, I came to know about this great Markdown editor (which I needed a lot)- MarkText. So following @mikewalsh's trend, I have made a (kinda) 'portable' for it (kinda because all configuration data is stored where ever the program wants them to).
Here is the link to it- https://github.com/lakshayrohila/marktext-portable.
As you might have seen, it does not include any binary right away. Instead, it installs the binary (AppImage) when needed. That's why on the first startup you may get a dialog box asking you to install binary. You may choose to download the binary at the same time or you may choose to download it later. Note that if you choose to download program's binary later, you will not be able to run MarkText. Might take nearly 100MBs for downloading the AppImage.
You can use the INSTALL and UNINSTALL scripts provided in the portable in order to do system-wide installation. NOTE THAT INSTALL AND UNINSTALL ONLY CREATES SYM-LINKS TO FEW OF THE COMPONENTS OF THE PORTABLE DIR. So never remove the portable dir even after you run INSTALL.
Also, note that currently the URL to check the latest version is given by me myself (located at /marktext-portable/DATA/.MARKTEXT_LAST_RELEASE in the github repo). I have also opened an issue on the original MarkText github repo, to provide a file for the same purpose. Until the issue is not processed, I'll regularly check for updates and update the version in my program whenever required.
Also, note that these sym-links are created after running INSTALL script-
1. LAUNCH -> /usr/bin/MarkText.
2. DATA/resources/marktext.desktop -> /usr/share/applications/
3. DATA/resources/marktext.png -> /usr/share/pixmaps/
Please read README.md for more information.
I'd also like to thank @Zuzia for mentioning and making us know about this great program, and @mikewalsh for inspiring me about portables and setting up an example (I referred to Google Chrome portable) of how to implement them (Some part of the code is copied 'as is' from the Google Chrome portable, so don't mind @mikewalsh... OK? (I didn't even read the Licensing of 'his' portable )).
Please test the portable and tell how it runs on your machine (It might not run on x86, i.e. 32-bit machine as I couldn't find any AppImage for the same in MarkText's Github Repo's Releases page).
Regards
User1234
(Fascinated by the beauty of this program.)