Snippets are bits of text that get inserted into your editor, to save typing and
reduce syntax errors. The snippets provided in atom-snippets.cson are scoped to
only work on Markdown files within Atom.
Copy the contents of the atom-snippets.cson file into your existing
~/.atom/snippets.cson. Do not replace your existing file.
You do not need to restart Atom.
Have a look through atom-snippets.cson and note the titles and prefix values
of the snippets.
You can trigger a given snippet in one of two ways:
prefix and pressing the <TAB> keyFor example, open a Markdown file and type anote and press <TAB>. A blank
note is added, with the correct Hugo shortcodes.
A snippet can insert a single line or multiple lines of text. Some snippets
have placeholder values. To get to the next placeholder, press <TAB> again.
Some of the snippets only insert partially-formed Markdown or Hugo syntax.
For instance, coverview inserts the start of a concept overview tag, while
cclose inserts a close-capture tag. This is because every type of capture
needs a capture-close tab.
To create a new concept, task, or tutorial from a blank file, use one of the following:
newconceptnewtasknewtutorialPlaceholder text is included.
atom-snippets.cson file on Github. Raise a
pull request, and ask for review from another Atom user in #sig-docs on
Kubernetes Slack.Was this page helpful?
Thanks for the feedback. If you have a specific, answerable question about how to use Kubernetes, ask it on Stack Overflow. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.