auto upload image in Typora to github repository
-
create a repository as picture bed in github
-
download binary file based on your platform from release
-
refer to the picture below and set
Custom Command
on the Typora Preferences page# need 3 args: # token: access token obtained in step 2 # owner: your user name in github # repo : the name of the repository created in step 1 your/path/to/imageUploader_windows_amd64.exe -token=your_token -owner=your_user_name_in_github -repo=your_repo_name
NOTE:MacOS(especially M-series chips) requires executable permission for this file. Please run the command
chmod a+x your/path/to/imageUploader_macos_arm64
before step 4