summaryrefslogtreecommitdiff
path: root/rdr
diff options
context:
space:
mode:
Diffstat (limited to 'rdr')
-rwxr-xr-xrdr5
1 files changed, 3 insertions, 2 deletions
diff --git a/rdr b/rdr
index a258698..184d7d4 100755
--- a/rdr
+++ b/rdr
@@ -2,5 +2,6 @@
#! nix-shell -i bash -p pandoc
textract "$1" \
- | pandoc -f html -t markdown \
- | less
+ | pandoc -f html -t markdown --strip-comments --reference-links \
+ | sed 's/^:::.*$//g' \
+ | sed 's/{.css.*}//g'