In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how to use the MarkDown editor under Sublime Text3, the article is very detailed, has a certain reference value, interested friends must read it!
Use the MarkDown editor under Sublime Text3
Step 1: install the package manager
First, we need to open Tools- > Install Package Control in the menu bar and install the console.
Wait a moment, it will show that the installation is successful! Click OK!
Click Preference- > Package Control in the menu bar to open the console (shortcut key: Ctrl +'~ ")
Enter the following code in the console:
Import urllib.request,os;pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path (); urllib.request.install_opener (urllib.request.build_opener (urllib.request.ProxyHandler (); open (os.path.join (ipp, pf),' wb') .write (urllib.request.urlopen ('http://sublime.wbond.net/' + pf.replace ('','% 20')). Read ())
The effect is shown in the figure:
About 1 second. After the code is executed, restart Sublime Text3.
Step 2: install the plug-ins you need
Open the quick menu (shortcut key: Ctrl + Shift + P) and enter 'pcip', to update the software library.
Wait for the data to be updated, and the software list will be displayed actively when it is finished.
Enter the following software name and enter to install it.
/ / Markdown editing and syntax highlighting support
Markdown Editing
/ / Markdown export html preview support
Markdown Preview
/ / Custom auto-save function
Auto-save
After the above three steps are completed, restart Sublime Text 3.
Step 3: realize the real-time preview function
Open the quick menu bar (shortcut key: ctrl+shift+P), enter mp, and select the Markdown Preview plug-in to open the browser for preview
At this point, there will be two options: GitHub and MarkDown. We select markdown to open the default browser to preview the content just now.
To ensure real-time updates, you need to add a line of code at the bottom of the .md file.
Congratulations! The browser can be refreshed automatically!
Step 4: realize the automatic update from md document to html file
Using the plug-in of auto-save, the document is automatically saved and refreshed every X seconds.
Open Preference- > Package Settings- > Auto-save- > Settings-Defualt; in the menu bar and copy all the files in Settings-Defualt to Settings-User. Modify the time interval behind the code. Here we change it to 0.5.
"auto_save_delay_in_seconds": 0.5
Open the quick menu bar (shortcut key: Ctrl+Shift+P) and type 'auto'
At this point, the document can be saved and refreshed every 0.5 seconds!
Open two-sided windows through Win + ← or Win + → to edit and preview ~
The above is all the content of this article "how to use MarkDown Editor under Sublime Text3". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.