submitted 3 years ago* (last edited 3 years ago) by to c/opensource@lemmy.ml
 

I am sure hope somebody™ already thought of this. Feel free to advertise your project here.

P.S.: Image transcription:

Patrick from SpongeBob SquarePants gesturing to the left with open hands:

Somebody should take document type conversion from Pandoc and version control from Git

Patrick gesturing to the right in a pushing motion:

And build a frontend around it

all 35 comments

sorted by: hot top controversial new old
[–] [S] 26 points 3 years ago* (last edited 3 years ago) (1 child)

Shameless plug for Pandoc because I love it

That scalable vector graphic on the page shows source document type on the left and target type on the right. TL;DL: It converts about two dozen document types into about three dozen document types.

P.S.E.G.: PDF ← Markdown ←→ HTML → PDF

P.P.S: Where are my manners? Image transcription added to post.

  • source
  • hideshow 1 child comment
  • [–] 7 points 3 years ago

    The author is also involved in a markup language called djot, which is like markdown, but well-defined. It's an awesome language that will probably languish under markdown's dominance.

  • source
  • parent
  • [–] 22 points 3 years ago* (3 children)

    I've been using Quarto a lot for Data Science work and it uses Pandoc under the hood I recall.

    Not sure what you're envisioning by Pandoc + git, but the RStudio IDE has a git integration and a WYSIWYM Quarto editor.

  • source
  • hideshow 3 child comments
  • [–] [S] 3 points 3 years ago

    Like a data format inhabiting the centre of that conversion graph they have on their website, basically a superset of the available input types, that is then version controlled by git, and can be exported to any of the output formats, in a neat frontend that removes all that complexity from me. :D

  • source
  • parent
  • [–] 17 points 3 years ago (9 children)

    This! I want office that just uses markdown/latex and pandoc under the hood to output PDF documents

  • source
  • hideshow 9 child comments
  • [–] 21 points 3 years ago (5 children)
  • [–] [S] 7 points 3 years ago* (2 children)

    Haha, kind of. However conversion between all these formats is lossy in some directions and I don't know of any software that integrates version control of documents by default (not saying there are none).

    P.S.: Yes I know, https://xkcd.com/927/

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

    am I crazy or is this just a markdown renderer

  • source
  • hideshow 1 child comment
  • [–] 14 points 3 years ago (4 children)

    Well every one already recommended latex or markdown.

    I would also recommend typst, it's a modern latex alternative easy to make templates and a markdown like syntax, none of all the backslash keywords that I somehow always forget.

  • source
  • hideshow 4 child comments
  • [–] 4 points 3 years ago (1 child)

    Uhhh typst looks hot, that one I need to give a spin, thanks!

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 3 years ago

    I made a template a while back when I had to make report, since I had a professor that disliked the markdown look of previous ones.

    A bit of a learning curve, but once you get the hang of it, you make a few templates and write on them just like markdown with custom alias and whatnot.

  • source
  • parent
  • [–] 3 points 3 years ago* (last edited 3 years ago)

    Typst is fucking amazing. LaTeX is powerful but just takes too much effort to use for large part of the population to the point that I just can't recommend it to most people outside STEM. Typst is consistent, easier to use, faster, and collaborative. With no nonsensical error messages, broken builds, and technical debt - I can actually recommend it to most.

  • source
  • parent
  • [–] 13 points 3 years ago* (2 children)

    I am confused what would be the combined functionality of the merged product. Do you need to output of converted files to be added to git when a document is version controlled?

  • source
  • hideshow 2 child comments
  • [–] 8 points 3 years ago

    You can have Pandoc and Git with Obsidian (https://obsidian.md/). Both as Plugins. Or even with VS Code. Obsidian sadly isn't open source.

  • source
  • [–] 8 points 3 years ago
    [–] 6 points 3 years ago

    I’m currently working on this, using git and having GitHub actions produce artifacts when building the markdown files to pdf. It’s great!

  • source
  • [–] 3 points 3 years ago

    Pandoc is absolutely amazing indeed

  • source
  • [–] 1 point 3 years ago*

    That sounds like bash. It supports editors too (with holy wars included).

  • source
  • [–] 1 point 3 years ago (3 children)

    First time hearing about pandoc are you saying like a more competent version of o365 or confluence?

  • source
  • hideshow 3 child comments
  • [–] [S] 2 points 3 years ago

    If I'm understanding your question right, kind of. Pandoc is only for document conversion though, no spreadsheets, presentations, etc. But at that it can convert between a lot of formats. And git can be used to version and share those documents.

  • source
  • parent