all 7 comments

sorted by: hot top controversial new old
[–] 4 points 2 months ago (6 children)

So, anybody know the regular linux commands to turn a pdf into markdown? I assume there is a simple command that does that for you, if there isn't already a pdf2markdown.

  • source
  • hideshow 6 child comments
  • [–] 5 points 2 months ago (3 children)

    There cannot be such a thing since pdf does not structure its data. There is an extension to the standard that would let a program do it for you but nobody uses it (PDF/UA-1). (also pandoc is vibe coded now)

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 2 months ago (1 child)

    yeah, my answer to this also used to be pandoc until they took the prompt unto their soul

    it's deeply fucking frustrating

  • source
  • parent
  • hideshow 1 child comment
  • [–] 4 points 2 months ago

    That sucks so much. But thanks anyway everybody, my post was half shitpost, half serious. (And I know some things can't be easily converted, (but my regexp to match xhtml script is almost complete).

    I'm a bit surprised (but not totally) there actually was a proper tool for it a bit, even if it is vibe corrupted now.

  • source
  • parent