about summary refs log tree commit diff
path: root/xchangelog
diff options
context:
space:
mode:
Diffstat (limited to 'xchangelog')
-rwxr-xr-xxchangelog2
1 files changed, 2 insertions, 0 deletions
diff --git a/xchangelog b/xchangelog
index 0fb08d4..def9fe1 100755
--- a/xchangelog
+++ b/xchangelog
@@ -31,6 +31,8 @@ elif curl -sLI -w "%{content_type}" -o /dev/null -- "$changelog" | grep -qi "^te
 		curl -sL -- "$changelog" | "$PAGER"
 	elif [[ "$changelog" = *".md" ]] && type mdless >/dev/null; then
 		curl -sL -- "$changelog" | mdless
+	elif [[ "$changelog" = *".rst" ]] && type rst2ansi >/dev/null; then
+		curl -sL -- "$changelog" | rst2ansi | less -r
 	elif type less >/dev/null; then
 		curl -sL -- "$changelog" | less
 	else