A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/PeterDaveHello/docker-doctoc below:

PeterDaveHello/docker-doctoc: Pack npm package "doctoc" into a docker image

This Docker image packages the npm package doctoc, which generates a table of contents for Markdown files inside a local git repository. The generated links are compatible with anchors produced by GitHub and other platforms, thanks to a command line flag.

GitHub Repository:

Docker Hub Repository:

Use the following command to generate a table of contents for a specific Markdown file with the Docker image:

docker run --rm -v "$(pwd)":/app peterdavehello/npm-doctoc doctoc /app/README.md

Replace README.md with the path to your Markdown file. This command mounts the current directory to the /app folder inside the container and runs doctoc on the specified file. Docker will automatically pull the image if it's not already available locally.

Basic doctoc Command Parameters

Here are some basic doctoc command parameters for your reference:

For more details and usage instructions, visit the doctoc homepage: https://github.com/thlorenz/doctoc


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4