Aug
28
2016
A snippet to create a custom jbake asciidoctor header for the atom editor.
The jbake asciidoctor header snippet
snippets.cson - snippet for a jbake asciidoctor header
'.source.asciidoc':
'jbake asciidoc header':
'prefix': 'jah'
'body': """
= ${1:Add a Title} =
Frank Becker
${2:2016-08-14}
:jbake-type: ${3:post}
:jbake-tags: $4
:jbake-status: ${5:draft}
$6
"""
When editing a asciidoctor file writing jah
following a tab the snippet gets inserted.
In Order to make it work you need to install the AsciiDoc Package for Atom.