Article directory
- 0. Write in front
- 1. Alibaba cloud storage build map bed
-
- 1. Operations on Alibaba Cloud official website
- 2. Operation in PicGo
- 3. Operation in Typora
- 2. AutoHotkey modify font color
0. Write in front
If you are about to blog but don’t know how to start, or are already blogging but don’t know the meaning of the nouns that appear in my title, I highly recommend you to read this article, because they are all powerful blogging tools that can greatly It will help you improve your writing efficiency with typora. That’s why “If a worker wants to be good at his work, he must first sharpen his tools”.
Through this article you will learn:
- Build a picture bed and put the picture on the network server instead of the local, so that the picture will not be displayed due to the movement or mistaken deletion of the local picture
- One key to modify the font color, beautify the blog page
1. Alibaba cloud storage building diagram bed
Software premise: installed typora, picgo, Aliyun account
Recommended related video materials:
1. What is a picture bed
2. How to use Alibaba Cloud Storage to build a map bed
1. Operations on Alibaba Cloud official website
Step 1: Open [Aliyun official website, search: OSS
Step 2: Click to buy and complete the purchase
Step 3: Click on the management console and create a Bucket. Note that the read and write permissions here must be selected: public read
The Bucket name created by yourself here (mine is songyonghong) is recommended to be temporarily saved in your own notepad, which will be used to configure picgo later
Step 4: Create a directory
The path created by yourself here (I am Blog/ here) is recommended to be temporarily saved in your own notepad, which will be used to configure picgo later
Step 5: Select AccessKey management and create AccessKey
Here, the t in Secret (AccessKey ID and AccessKey Secret) is recommended to be temporarily saved in your own notepad, It will be used later to configure picgo
2. Operation in PicGo
3. Operation in Typora
Finally, if it is successful, click: Verify the screenshot of the successful page of the image upload option is as follows:
2. AutoHotkey modify font color
Basic software prerequisite: Typora has been installed
Related articles:
[1. Getting Started with AutoHotKey Script](https://www.bilibili.com/video/BV1tK411T7kY/?spm_id_from=333.337.search-card.all.click & vd_source=1996bef0ab189ba0145ffc80af08a55c autohotkey)
2. How to install AutoHot and use it to modify typora font color
Step 0: Double-click to open the AutoHotKey software. Note: This software is the same as PicGo, and there is no pop-up reminder when opening
Step 1: Create a new file on the desktop: text document.txt
Step 2: Copy the following scripting language in the document
explain:
alt + 1 key: modify the font color to blue
alt + 2 keys: change the font color to orange
… (you can add or customize the button-color)
#IfWinActive ahk_exe Typora.exe {<!-- --> !1::addFontColor("blue") !2::addFontColor("orange") !3::addFontColor("red") !/::addFontColor("green") } addFontColor(color){<!-- --> clipboard := "" Send {<!-- -->ctrl down}c{<!-- -->ctrl up} ; SendInput {<!-- -->Text} SendInput {<!-- -->TEXT}<font color='%color%'> SendInput {<!-- -->ctrl down}v{<!-- -->ctrl up} If(clipboard = ""){<!-- --> SendInput {<!-- -->TEXT}</font> }else{<!-- --> SendInput {<!-- -->TEXT}</ } }
Step 3: Modify the file extension to .ahk
Step 4: Double-click to open this file
You’re done here, you can try it by selecting the typora text and using the shortcut key
ps: You can explore other fun ways to play AutoHotKey, such as entering a few specific characters (which can be understood as shortcut keys) to enter a large section of prepared text.
You can also add this font color modification .ahk & amp; & amp; picgo.exe & amp; & amp; AutoHotKey.exe file to the boot-up self-starting folder to avoid manually double-clicking to open it every time.