In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Use github to store online pictures for markdown files to use
When editing a markdown file, the entire text is a little boring, and sometimes you need to add some pictures to make the whole text more vivid. Some people can add local pictures, but once the image path changes, the original text will not be able to view the picture, so you can store the picture on the Internet and call it to make sure it is used.
Upload pictures to github
Here you need to create a repository on your github, such as pic
Configure config (the machine that just installed git needs to be set up)
Git config user.name YOUR-USER-NAME-OF-GITHUB
Git config user.email YOUR-EMAIL-OF-GITHUB
Test git remote warehouse
# echo "# pic" > > README.md
# git init
# git add README.md
# git commit-m "first commit"
# git remote add origin https://github.com/castiel-Lu/pic.git( this is my pic repository link, replace it with your git connection)
# git push origin master
Upload pictures
# git add choose_os.png
# git commit-m "add choose_os.png"
# git push origin master
Get a link
Find the picture file just uploaded on the github website, click, the picture appears; right-click the picture, copy the picture address, this address can be used on markdown and displayed!
Markdown picture syntax:! [picture description] (picture address)
For more markdown image insertion methods, please see: https://www.zhihu.com/question/21065229
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.