woo
parent
882de95140
commit
04acc7ff4f
|
|
@ -258,6 +258,7 @@ html_to_markdown() {
|
||||||
| perl -pe 's|<t(.)><p>(.*?)</p></t.>|<t\1>\2</t\1>|g' \
|
| 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' \
|
| perl -pe 's|<thead>\r*<tr>(?:(?!</tr>).)+</tr>\r*<tr>|<thead><tr>|g' \
|
||||||
| tr '\r' '\n' \
|
| tr '\r' '\n' \
|
||||||
|
| sed 's/<a[^>]*>\([^<]*\)<\/a>/\1/g' \
|
||||||
| pandoc \
|
| pandoc \
|
||||||
-f html \
|
-f html \
|
||||||
-t markdown+pipe_tables-simple_tables-multiline_tables \
|
-t markdown+pipe_tables-simple_tables-multiline_tables \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue