/asciidoctor-zsh

Primary LanguageShellMIT LicenseMIT

.oh-my-zsh Plugin for Asciidoctor

Installation

Download the plugin into the custom plugin folder of oh-my-zsh

cd $ZSH/custom/plugins
git clone https://github.com/sparsick/asciidoctor-zsh asciidoctor

Activate the plugin. Add asciidoctor to the plugins list in the file .zshrc

plugins=(git git-extras history mvn web-search asciidoctor)

Usage

Aliases

Alias Command
adoc asciidoctor -D target
adocpdf asciidoctor -r asciidoctor-pdf -b pdf -D target