Loading bin/mdl-wrapper +1 −1 Original line number Original line Diff line number Diff line Loading @@ -11,7 +11,7 @@ for path in "$@"; do *.md|*.mdwn|*.markdown) *.md|*.mdwn|*.markdown) echo "checking file $path..." echo "checking file $path..." # this also removes [x] style checklists which kramdown doesn't like # this also removes [x] style checklists which kramdown doesn't like sed 's/^\[\[_TOC_\]\]/TOC_PLACEHOLDER/;s/^ *[*-] \[[x ]\] /\* /' "$path" | mdl - ;; sed 's/^\[\[_TOC_\]\]/TOC_PLACEHOLDER/;s/^ *\([*-]\|[0-9][0-9]*\.\) *\[[x ]\] /\* /' "$path" | mdl - ;; esac esac else else echo "checking $path..." echo "checking $path..." Loading Loading
bin/mdl-wrapper +1 −1 Original line number Original line Diff line number Diff line Loading @@ -11,7 +11,7 @@ for path in "$@"; do *.md|*.mdwn|*.markdown) *.md|*.mdwn|*.markdown) echo "checking file $path..." echo "checking file $path..." # this also removes [x] style checklists which kramdown doesn't like # this also removes [x] style checklists which kramdown doesn't like sed 's/^\[\[_TOC_\]\]/TOC_PLACEHOLDER/;s/^ *[*-] \[[x ]\] /\* /' "$path" | mdl - ;; sed 's/^\[\[_TOC_\]\]/TOC_PLACEHOLDER/;s/^ *\([*-]\|[0-9][0-9]*\.\) *\[[x ]\] /\* /' "$path" | mdl - ;; esac esac else else echo "checking $path..." echo "checking $path..." Loading