Skip to content

Instantly share code, notes, and snippets.

@danyill
Created August 29, 2018 09:53
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save danyill/12e423e467009b6e903e2a3c8cc31df3 to your computer and use it in GitHub Desktop.
Default header include
:figure-caption: Figure
:toc: left
:docinfo: shared
:docinfodir: {assetdir}
:docinfosubs: attributes
:safe-mode-unsafe:
:iconfont-remote!:
:stylesheet: asciidoctor.css
:scriptsdir: {assetdir}
:linkcss!:
:data-uri:
:iconfont-name: font-awesome.min
:imagesdir: media
:icons: font
:nofooter:
:sectnums:
:sectnumlevels: 3
:sectlinks:
:sectanchors:
:experimental:
:stem:
ifdef::git-metadata-tag[]
:version: {git-metadata-tag}
endif::[]
ifndef::git-metadata-tag[]
:version: {git-metadata-branch}-{git-metadata-sha-short}
endif::[]
:repo_url: {git-metadata-remotes-origin}
// this speeds up local builds by not creating very large outputs for previews
ifndef::env-build1[]
:data-uri!:
endif::[]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment