mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-29 06:42:56 -05:00
5 lines
191 B
Text
5 lines
191 B
Text
|
#!/bin/bash
|
||
|
# Render Markdown ToC with only headings appearing after "Table of Contents"
|
||
|
dir="$(dirname "$0")"
|
||
|
"$dir"/mdtoc "$1" | sed -n '/table-of-contents/,$p' | grep -v table-of-contents
|