master
bel 2022-07-04 11:51:58 -06:00
parent 882de95140
commit 04acc7ff4f
1 changed files with 1 additions and 0 deletions

View File

@ -258,6 +258,7 @@ html_to_markdown() {
| perl -pe 's|<t(.)><p>(.*?)</p></t.>|<t\1>\2</t\1>|g' \
| perl -pe 's|<thead>\r*<tr>(?:(?!</tr>).)+</tr>\r*<tr>|<thead><tr>|g' \
| tr '\r' '\n' \
| sed 's/<a[^>]*>\([^<]*\)<\/a>/\1/g' \
| pandoc \
-f html \
-t markdown+pipe_tables-simple_tables-multiline_tables \