Skip to content

Instantly share code, notes, and snippets.

@jonasfroeller
Created April 27, 2023 07:49
Show Gist options
  • Save jonasfroeller/b087d78ff852157a4f456102927e3946 to your computer and use it in GitHub Desktop.
Save jonasfroeller/b087d78ff852157a4f456102927e3946 to your computer and use it in GitHub Desktop.
asciidoc preamble

${1:project}

@jonasfroeller
Copy link
Author

vsc snippet:

{
  "adoc": {
    "prefix": "adoc\r",
    "description": "creates adoc head\r",
    "body": [
      "\r",
      "\r",
      ":imagesdir: ./imgs\r",
      ":includedir: ./snippets\r",
      ":source-highlighter: highlight.js\r",
      ":doctype: book\r",
      ":toc: left\r",
      ":toclevels: 5\r",
      ":icons: font\r",
      ":hide-uri-scheme:\r",
      "\r",
      "= ${1:project}\r",
      "Jonas Froeller\r",
      "1.0.0, {docdate}: ${2:project}"
    ]
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment