mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-23 10:43:16 +00: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
|