zsh-doctoc
v1.4.1
Published
Generates table of contents for markdown files inside local git repository. Links are compatible with anchors generated by github or other sites.
Downloads
4
Maintainers
Readme
thlorenz/doctoc as a Zsh package
NPM link: https://www.npmjs.com/package/zsh-doctoc
Homepage link: thlorenz/doctoc
| Package source: | Source Tarball | Binary | Git | Node | Gem |:-------------------:|:--------------:|:------:|:---:|:----:|:---:| | Status: | - | - | - | + (default) | – |
Zplugin can use the NPM package registry 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 overriden.
Example invocations that'll install thlorenz/doctoc by using the bin-gem-node annex:
# Download the Node package of doctoc
zplugin 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 Zplugin command executed will be equivalent to:
zplugin lucid as=null node="!doctoc" sbin="n:node_modules/.bin/doctoc" for \
zdharma/null