
Why use the picture bed
Picture bed generally refers to a server that stores pictures. Graphic bed has a wide range of uses, its biggest use is to save local pictures in the server, and generate an accessible link. The benefits of Markdown are obvious, which means you can get rid of the local picture. As for software, how to get images according to relative links is a big problem, especially for UWP, which does not even have access to files in non-special folders[^1] through the path. Therefore, network links have become the only reliable source of image links for this software.
How to use picture bed
Acrylic Markdown use OneDrive as the source of the drawing bed, and the specific reasons are not. It is worth mentioning that OneDrive itself has the function of sharing file links, but because OneDrive is being walled in this part of the service in China, in order to get a consistent experience for domestic and foreign users, users need to configure some additional things here.
- Application authorization
UsingOneDriverequires user authorization. You can activate the connection to OneDrive by clicking the button shown in the top action bar on any document editing page.In the pop-up Microsoft page, log in to your Microsoft account and authorize the application. This authorized act is conducted only once, and no authorization is required next time.
- Get folder Authorization Key
To perform this step, you need to log in with the browser.OneDrive
After the OneDrive connection, the application creates theAcrylic Markdownfolder in theApplicationfolder of OneDrive, which is our application root folder, following the following path:OneDrive/Application/Acrylic Markdown/TempImage
Find ourTempImagefolder:Click
Embed:Find the code generated on the right, where the
authkeyfield is the value of the shared key we need, copy it out and paste it into the software dialog box.
[^1]: Special folder refers to system level folder including picture, video, document and so on.




近期评论