Skip to content

z-shell/doctoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo
❮ ZI ❯ Package - Doctoc

Generates table of contents for markdown files inside local git repository

Package source: Source Tarball Binary Git Node Gem
Status: ✔️ (default)

zi doctoc package


Available pack'' invocations

thlorenz/doctoc by using the bin-gem-node annex:

# Download the Node package of doctoc
zi pack for doctoc

Default profile

Provides the CLI command doctoc.

The Node packages are installed locally into a null-plugin directory (feature of the bin-gem-node annex) and provided to the command line through shims, i.e.: automatic forwarder scripts created under $ZPFX/bin (which is added to the $PATH by default; shims are also a bin-gem-node annex feature).

The ZI command executed will be equivalent to:

zi lucid as=null node="!doctoc" sbin="n:node_modules/.bin/doctoc" for \
    z-shell/null

This repository compatible with ZI

The thlorenz/doctoc zsh package that can use the zsh-string-lib to automatically:

  • get the plugin's Git repository OR release-package URL,
  • get the list of the recommended ices for the plugin,
    • there can be multiple lists of ices,
    • the ice lists are stored in profiles; there's at least one profile, default,
    • the ices can be selectively overridden.