The gedit editor that comes with MarkdownPreviewUbuntu is also powerful and supports plug-in installation. For me who like to use Markdown, this is of course good. gedit itself supports Markdown syntax highlighting, And the preview function is perfect, the MarkdownPreview plug-in can solve this problem, so that we can preview it in the current window. system Version: UbuntuKylin15.04 install Markdown Preview
The built-in gedit editor of Ubuntu also has powerful functions and supports plug-in installation. For me who like to use Markdown, this is of course good. gedit itself supports Markdown syntax highlighting, And the preview function is perfect, the Markdown Preview plug-in can solve this problem, so that we can Preview it in the current window.
System: Ubuntu Kylin 15.04
Gedit version: 3.10.4
Markdown preview version: 2
1. Download the corresponding file based on your gedit version. For Versions later than gedit3.8, you can download the file through the following link:
- Download the archive of gedit-markdown v2.
2. decompress the file
3. Open the terminal in the decompressed folder and enter the following installation command:
./Gedit-markdown.sh install
The uninstall command is:
./Gedit-markdown.sh uninstall
4. Complete the installation ..
5. gedit cannot use plug-ins by default, so we needEdit> preferences> plug-inEnable the Markdown Preview plug-in and restart gedit.
6. When editing the Markdown file, use the shortcut keyCtrl + Alt + MTo preview. If no preview is available, firstCtrl + Alt + VSwitch to the display panel of Markdown Preview
7. The display panel of Markdown Preview can be set to Sidebar or bottom panel. The specific settings are as follows:
Open a file
$ HOME/user/. config/gedit/gedit-markdown.ini
Modify rows
Panel = bottom
UserYour username
Panel = bottom; Bottom panel display
Panel = side; Sidebar display
Of course, we can also modify the familiar shortcut keys in this configuration file.
Problem:
Q: The Markdown Preview plug-in cannot be enabled, and the plug-in cannot be loaded.
A: Check the package.python3-markdown
Whether to install. If your system version is Ubuntu 11.10 or later, you need to installgir1.2-webkit-3.0
After the installation is complete, restart gedit. In some cases, restarting gedit is fruitless. You need to restart the system to take effect.
For more functions and settings, see the READE. md file in the compressed package.
Markdown: Basics (Quick Start) http://www.linuxidc.com/Linux/2014-12/110960.htm
Markdown syntax (Simplified Chinese) http://www.linuxidc.com/Linux/2014-12/110960.htm
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-09/122690.htm