LibreOffice Writer now supports Markdown

2 months ago (blog.documentfoundation.org)

This is great news. I've long felt markdown support was a missed opportunity for LibreOffice. There are great options out there, and with AI it's not even terrible to roll-your-own, but I already have LibreOffice anyway and being able to use that instead of reaching for a different tool would be killer. Might be a little while until this makes it into distro packages, but if anyone has tried it I'd love to hear how it compares to the other options.

  • There's a lot of missed opportunity for LibreOffice, almost all of it to do with insisting on seeing the world in terms that fit neatly within the paradigm of 90s and early 2000s era office suites.

    Back when they were quarreling over the standardization of OOXML, instead of pushing their own proprietary** desktop format, they should have instead been pushing hard for something that could be shared with and opened by anyone who has a Web browser (in other words: "anyone")—something that uses HTML as a container format and can degrade gracefully even if you don't have any kind of office suite installed and the only reader software you have for it is Chrome/Safari/Firefox/Edge. There was no chance of beating Microsoft's incumbency with Office when being libre+gratis was the _only_ distinguishing feature. It required doing something different at a fundamental level. Even Microsoft beat them to getting halfway to the place they should have been when they bought the company that wrote what became Windows Live Writer app (which is now itself open source, though neglected, and still mired in visions of desktop software from the 90s: <https://news.ycombinator.com/item?id=23795918>

    • > Back when they were quarreling over the standardization of OOXML, instead of pushing their own proprietary* desktop format

      ODF was developed by a committee and predates OOXML by years and it was standardized by ISO before OOXML was even announced.

      That's not pushing their own proprietary format. That's just using the existing ISO standard and not switching to a different, far more complex standard that served little purpose.

      Hell even IBM threatened to leave ISO wholesale over Microsoft ramming OOXML through the standards body.

      1 reply →

    • Word is a WYSIWYG document editor with built-in version control and annotations. In order to match that feature set with something like Markdown, you'd basically have to reinvent Word in all ways but for file format.

      And if you expect Word's current user base to get by with Emacs or Vim or Zed and git, you really are programmer-brained and need to develop more empathy for ordinary people.

      8 replies →

  • For me, being able to open typical .doc files and re-save as .md w/ a reasonable approximation of formatting is _huge_, and I'm very appreciative of it (and I've long argued that an office suite which just offered only what .md can do would meet the needs of the vast majority of users _and_ keep them from making the sorts of abominable documents folks often complain about).

    • It’s interesting, a lot of use cases have migrated to tools like that, including Apple Notes, Notion, Slack Canvas and, of course, Gmail and Outlook.

      I think a lot of people “need” Word the same way they “need” a pickup truck. It feels better to buy it up front than to worry about needing it on short notice and not having it.

  • I'm not sure this is quite what you are looking for, though I could be wrong. As far as I can tell they haven't added support for writing Markdown, the added support for importing to and exporting from Markdown.

I got really excited that I would be able to write in Markdown.

Unfortunately, from the article:

> Markdown import and export features.

  • Why would you need LibreOffice to write in Markdown? That would be, like, one of the slowest Markdown editors out there.

    • Open .docx file, save as Markdown to nicely preserve things like headings, bold, etc. I moderately frequently have reason to want to go .docx to .md because I have a lot of ediing/rewriting to do and I'd rather work in Emacs than LibreOffice Writer.

    • How about opening Word documents and being able to save them to Markdown in one click? That's super useful to me.

  • Markdown is a text markup language, of course. The output does not look like the input (unless you want to read raw text Markdown, in which case LibreOffice works fine).

    How would that look in a single-pane, edit-in-place, wysiwyg editor? Where would you type the input, and where and when would it show the output?

    • Obsidian does this. It displays the raw Markdown for the line under the cursor, and renders the marked down content everywhere else in the document.

    • These things generally already offer side-by-side page layouts anyway, no?

      Doesn't seem like that much of a stretch from a UI perspective to do something similar with a Markdown preview.

    • Google docs allows using markdown hashtags essentially as shortcuts to switch to title, subtitle, subxntitle

What are peoples' favourite md implementations? Curious as there are different varieties and even more varied opinions. I am building a lightweight project folder managing app supporting markdown and I am between Commonmark and GitHub flavoured markdown and want to gather thoughts.

Oh, this is actually very helpful for me! I have an AI copilot extension for LibreOffice Writer and I need to export the doc to a text file before sending it to the LLM. The problem is that I lose the semantic formatting (eg heading).

Link to the extension for anyone curious: https://extensions.libreoffice.org/en/extensions/show/99471

  • I know nothing about libre but in MS Word there's the office api you can use to send MD to an API, there's nothing similar? It's great to be able to read/write directly in MD.

I keep wondering how much longer they'll cling to these monsters, office suites as a concept. They make no sense since decades, not just for producing TERRIBLE print documents, but also as awful formats for working with text and any data they might contain.

I see this latest development as an admission that their time is up, but I don't see that same awareness from the people who actually use the software.

  • So if the people making the software don’t see their time is up and the people using the software don’t see their time is up, who decides their time is up?

    • The need for a functioning digitalised society, because the current one is digitalising slowly, decades behind technological potential, and poorly at that, so it doesn't work; the result is a lethal inefficiency that is making society itself increasingly unmanageable, with a level of social fracture that I fear is irreparable.

      Oh, sure, office suites aren't the only cause, nor the main one, but they are a contributing factor. The model of giving a computer to secretarial staff without any training, which is why this software was created in the first place, has now been extended to almost all "office" workers, and well, it's among the causes of our decline.

      We haven't worked with sheets of paper, pages, suspended folders (as directories are rendered in file managers on average), and so on for a long time now; it's high time, then, that the modern General Magic, the Office model, stop screwing everyone over. This won't be understood anytime soon, and the result will be a state of affairs even worse than the present.

      1 reply →

    • kkfx it's right. Office users shoudn't need nothing more complex that WordPad and a simple spreadsheet such as Gnucalc. Everything else should be either DTP domain, scientific notebooks instead of crappy spreadsheets with parsing bugs (genomics) and Access instead of SQLite3 and any GUI of choice to place forms in a WYSIWYG way making queries against that database.

What is a good way to convert MS Office documents to markdown -- until Microsoft adds "Saves As" option to office apps.

Anything that can run locally instead of uploading potentially sensitive stuff to random websites. Would be handy on work PCs.

Does it say how much Markdown is covered? I doubt that it will get the integrated Latex formulas...

Great news. My first thought was that I want to see how this looks. Unfortunately there is not a single screenshot in the announcement. Missed opportunity in my opinion.