theodore-s-beers / gloss-word

A simple English dictionary lookup utility
MIT License
3 stars 0 forks source link

[feat] Remove pandoc dependency #116

Open jmetz opened 1 month ago

jmetz commented 1 month ago

Great project @theodore-s-beers :+1: !

One gripe though - having pandoc as a dependency (ie haskell and all the haskell libs used by pandoc) seems unnecessary, especially when rust-based alternatives exist like:

theodore-s-beers commented 1 month ago

I'm open to this. htmd looks promising; I don't think it existed when I first wrote gloss. Will explore further. Thanks!

theodore-s-beers commented 2 weeks ago

I've now explored some of these libs. In fact, I quite like the API of htmd for turning HTML into Markdown. The problem is that I want the ultimate output to be in plain text, as it is now—and I've realized that Pandoc's plain text target is possibly the only one of its kind.