Atom is a free text editor that is a favorite tool of many writers because it is free. This page provides some tips for using Atom.
If you haven’t downloaded Atom, download and install it. Use this as your editor when working with Jekyll. The syntax highlighting is probably the best among the available editors, as it was designed with Jekyll-authoring in mind. However, if you prefer Sublime Text, WebStorm, or some other editor, you can also use that.
If you don’t adjust the timing on the auto-complete, the constant prompts from the editor get annoying. At the same time, when you want the prompts, it’s extremely helpful to have this feature.
By default, files listed in .gitignore will be hidden from view in Atom. You can adjust this by doing the following:
(For Windows, replace “Cmd” with “Ctrl”.)
You can use a number of shortcuts with Atom. These shortcuts are entered as snippets. You have to enter these shortcuts manually in your Atom editor.
Snippets expand stored text from a keyword shortcut. For example, if you type ximage and then press Enter, it expands to {% include image.html file=”” max-width=”” border=”” url=”” caption=”” alt=”” %} assuming you have this snippet configured.
To configure snippets:
Here are the shortcuts:
To insert the code from the snippet, type the shortcut and press Enter. Note that you have to be in a Markdown file for the snippets to work. The snippets are associated with Markdown files.
If you have the “autocomplete plus” package turned on in Atom, you’ll see prompts when you enter this text. You can also add your own shortcuts to your snippets file by following the same format.
© 2017 Your Company, Inc.