aboutsummaryrefslogtreecommitdiff
path: root/src/lib/chapter_reader.sh
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-06-05 17:40:53 -0700
committerFuwn <[email protected]>2023-06-05 17:40:53 -0700
commit0654074d86c300290fa210bf7126ff8e15d90a68 (patch)
treee2b0157db3eb1d8572595629c9efb47b59957a2f /src/lib/chapter_reader.sh
parentdocs(readme): dependency notice (diff)
downloadnectar-main.tar.xz
nectar-main.zip
deps(pandoc): replace with html2mdHEADv0.1.2main
Diffstat (limited to 'src/lib/chapter_reader.sh')
-rw-r--r--src/lib/chapter_reader.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/chapter_reader.sh b/src/lib/chapter_reader.sh
index 396a1db..99e2b1d 100644
--- a/src/lib/chapter_reader.sh
+++ b/src/lib/chapter_reader.sh
@@ -6,7 +6,7 @@ chapter_reader() {
# Convert chapter HTML to GitHub Flavoured Markdown (closest to Honeyfeed)
markdown="$(echo "${chapter_content}" |
pup 'div.wrap-body.div' |
- pandoc -f html -t gfm)"
+ html2md -i)"
# Display stylised chapter in default pager (usually less)
echo "${markdown}" | glow -w "$(tput cols)" -p -