Calmdevelopment

Keep calm and code. Or do some other stuff.


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.

2014 - 2017 | Mixed with Foundation v6.2.3 | Baked with JBake v2.5.1