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 - 2020 | Mixed with Foundation vversion | Baked with JBake v2.6.5