s-kostyaev / ellama

Ellama is a tool for interacting with large language models from Emacs.
GNU General Public License v3.0
550 stars 36 forks source link

Feature request: improve the markdown-to-org conversion by deferring to https://github.com/jgm/pandoc #100

Open hab25 opened 7 months ago

hab25 commented 7 months ago

Due to pandoc being a much more battle-tested and widely used solution than ellama's code for this, by using it ellama can probably avoid bugs as well as benefit from a more complete markdown-to-org conversion.

s-kostyaev commented 7 months ago

I will see into it. Not sure if pandoc can work with streams. And also it's another system dependency. If I add it, it will be optional.

hab25 commented 7 months ago

If I add it, it will be optional.

You could make it optional, and required only for the markdown-to-org conversion. This would still allow you to remove the ellama conversion code if you want.

s-kostyaev commented 7 months ago

if you want.

I don't. I would like it to works for someone without pandoc installed. And maybe works better for someone with pandoc installed.