Viblo Plugin for Atom editor. Vietnamese documentation is available here.
- Atom version 1.x
- Open
Atom - Go the
Packages>Settings View>Openor press Ctrl + Shift + P (Linux/Windows) or Cmd + Shift + P (macOS), in the search menu type the keywords Install packages and click Settings View:Install Packages and Themes. - In the search bar type
vibloand then install it 😄
- Get Posts and Drafts list from Viblo
- Create a new post and save it as a draft or publish it
- Edit an existed draft or post
- Upload images to Viblo
- Markdown preview with Viblo's supported syntaxes
- Go to Viblo Setting Page to create an API key
- Press Ctrl + Shift + P (Linux/Windows) or Cmd + Shift + P (macOS), type
viblo, then go toViblo: Settingspage. Paste your API key here then reload your Atom. - Go to:
Viblo: Publish Postspage to check your published posts.Viblo: Draft Postspage to check your drafts.Viblo: Gallerypage to manage your images.
- Press Ctrl + Shift + P or Cmd + Shift + P (macOS), type
viblothen go toViblo: Create Post. Viblo editor will be open for you. Let's fill your post contents here. - Right click at Atom, then choose
Viblo Toggle Previewto review your post contents. - Right click at Atom, then choose
Save to Vibloto open Publish Form where you can fill title, tags, category and language. After that, clickPublish postbutton orSave as Draftbutton to save this post into Viblo. - And on the other way, you can create (or open)
markdownfile (with.mdas file extension). Then right click at Atom, chooseSave to Vibloto save post into Viblo.
- Go to
Viblo: Publish PostsorViblo: Draft Postspage to check your posts. - Click on the post title that you want to edit. The Viblo editor will be open.
- Right click at Atom, then choose
Viblo Toggle Previewto review your post contents. - Right click at Atom, then choose
Save to Vibloto open Publish Form where you can fill title, tags, category and language. After that, clickPublish postbutton orSave as Draftbutton to save post into Viblo.
If you are using macOS, use Cmd instead Ctrl. Atom key maps that you should know before using:
- Ctrl + Shift + P: Find and run available commands in atom.
- Ctrl + S: Save your contents to local file from atom editor.
- Ctrl + Shift + F5: Restart/Reload Atom.
Viblo Atom Plugin key maps are supported:
- Ctrl + Alt + O or Ctrl + Alt P: Open
Publish Postspage - List of all published posts. - Ctrl + Alt + D: Open
Draft Postspage - List of all (public) drafts. - Ctrl + Alt + G: Open
Gallerypage. - Ctrl + Alt + S: Open
Settingspage - Where you can login or logout by Viblo Api token. - Ctrl + Alt + A: Open
Aboutpage - Information about Viblo Atom Plugin. - Ctrl + Alt + C: Create new post.
- Ctrl + Shift + S: Toggle Publish Form to save content from atom editor into Viblo.
- Ctrl + Alt + V: Toggle Viblo Preview to review your content from atom editor before publish.
- Ctrl + Alt + I: Toggle Image Helper from atom editor to upload your image, insert image into your contents.
- Clone repository
cd ~/ & git clone git@github.com:viblo-asia/atom-plugin.git
to ~/.atom/packages folder or make symlink inside this folder named viblo
ln -s ~/atom-plugin ~/.atom/packages/viblo
- Press Ctrl + Shift + P, type the command
Window: reloador justreloadand press Enter to reload Atom workspace and after thatviblowill be available in list of installed packages. - Check that our package has been installed, press Ctrl + Shift + P, type the command
Settings View: View Installed Packagesor justInstalled Packages(command line have fuzzy autocomplete) and press Enter.
Note: To check your code need to reload Atom workspace each time
