How to Auto‑Upload Images in Typora Using SM.MS – Step‑by‑Step Guide
This guide shows how to configure Typora (v0.9.86 or later) to automatically upload images to the SM.MS image bed, obtain a public URL, and embed it directly into your markdown without manual uploading.
Typora now supports automatic image uploading to the SM.MS image bed, returning a public URL so you no longer need to drag images to an external host before inserting them into your markdown.
Prerequisite
Make sure your Typora version is 0.9.86 or newer.
Update Typora
Open Typora, click the top‑most Help menu and select Check for Updates to upgrade to the latest version.
Enable SM.MS in Typora
Click the top‑most File menu, then choose the second‑last item Preferences .
In the Preferences pane, select Image .
Choose SM.MS as the image bed (see the screenshots).
Obtain an SM.MS API token
Visit https://sm.ms/home/apitoken and register an account (username, not email).
After logging in, copy the generated token.
Configure Typora
Open Typora’s configuration file (usually settings.json) and add the following JSON snippet, replacing the placeholder with your token:
{
"picBed": {
"uploader": "smms",
"smms": {
"token": "这里面的token换成你上个页面的申请的token"
}
},
"picgoPlugins": {}
}Test the setup
Insert an image in Typora; the editor will upload it to SM.MS automatically and replace the local path with the returned server URL. The result looks like the example below.
After saving the configuration, the automatic upload works seamlessly, making markdown publishing much smoother.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Liangxu Linux
Liangxu, a self‑taught IT professional now working as a Linux development engineer at a Fortune 500 multinational, shares extensive Linux knowledge—fundamentals, applications, tools, plus Git, databases, Raspberry Pi, etc. (Reply “Linux” to receive essential resources.)
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
