We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0ebe19 commit c17fb22Copy full SHA for c17fb22
gh-md-toc
@@ -112,7 +112,7 @@ gh_toc_grab() {
112
# became: The command <code>foo1</code></h1>
113
sed -e ':a' -e 'N' -e '$!ba' -e 's/\n<\/h/<\/h/g' |
114
# find strings that corresponds to template
115
- grep -E -o '<a\s*id="user-content-[^"]*".*</h[1-6]' |
+ grep -E -o '<a.*id="user-content-[^"]*".*</h[1-6]' |
116
# remove code tags
117
sed 's/<code>//' | sed 's/<\/code>//' |
118
# now all rows are like:
0 commit comments