Settings

Theme

LibreOffice Writer now supports Markdown

blog.documentfoundation.org

387 points by todsacerdoti 2 days ago · 82 comments

Reader

freedomben a day ago

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.

  • cxr a day ago

    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://github.com/OpenLiveWriter/OpenLiveWriter>).

    > The LibreOffice project's imprimatur should be to stop existing[…] The editing paradigm perpetuated by the legacy of MS Office is a dead end[…] A standardized "Markdown for the Web" (or AsciiDoc) with native browser support would be a good 80/20 start and would move things out of weird proprietary office formats and towards plain text[…]

    > Right now LibreOffice is aligned against this goal as a result of perverse incentives to continue perpetuating the MS Office model of document creation, editing, and (let's face it: email-based) distribution.

    <https://news.ycombinator.com/item?id=23795918>

    • OneDeuxTriSeiGo a day ago

      > 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.

      • mghackerlady 16 hours ago

        I wish microsoft would have been forced to make the entire windows API an ISO standard if they wanted OOXML to be one so bad

    • muterad_murilax a day ago

      Care to explain how ODT is a proprietary format, please?

    • bitwize a day ago

      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.

      • twirlip a day ago

        Back in the long-ago times, I saw ordinary people fight tooth-and-nail to keep their WordPerfect on DOS instead of switching to Windows and Word, despite it requiring those overlays kept above their keyboard function keys and being non-WYSIWYG. Ordinary people aren't neophiles, nor is Word especially intuitive. They simply want what that app to which they are familiar.

        • ikr678 a day ago

          I have been looking for a simple local only wysiwyg alternative to Onenote and there just.. arent any good ones? Joplin is close but everything is now markdown and I hate it, I've gone back to phyiscally writing down notes.

          I'm old, these are notes for me only, I don't care that they arent 'web publishing' ready.

        • thunderfork a day ago

          There is value in familiar tools for familiar work. Someone typing letters to send to family is not intrinsically going be interested in, or see any benefit from, some paradigm shift to hypermedia-first document creation.

      • opan a day ago

        Nitpick, but I love vim (and to a lesser extent emacs) and am not a programmer (sadly). I don't believe you need to be a programmer to use them. Using vim is "just" using your computer. Personal notes, system configuration (dotfiles), anime playlist management (.m3u files mainly), checking the name of a unicode character I don't recognize (vim-characterize), inverting capitalization (select and hit ~) or making large formatting changes to some text (block select visual mode and multi-line editing, macros) to post elsewhere, bulk renaming of files (vidir), writing emails (aerc), vim is my go-to for all that. That's not even getting into vim-inspired separate programs like ranger and qutebrowser.

      • cxr a day ago

        > And if you expect Word's current user base to get by with Emacs or Vim or Zed and git

        ... who said that? Are they in the room now?

        I'm baffled when these kinds of responses show up in these threads—every time I've brought this up. Like, it's pure hallucination. And the readiness to go from what is _my_ very clear call for "empathy for ordinary people" to an explicit suggestion that I might be programmer-brained is inexplicable.

        Ordinary people don't want to do any of the things uttered someone who's telling them to stop using Google Docs and to go "download" something called "LibreOffice".

      • anthk a day ago

        Read about RTF.

  • WillAdams a day ago

    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).

    • smelendez a day ago

      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.

    • bitwize a day ago

      Pandoc could convert between .doc/.docx and .md, but having that in LibreOffice would still be a welcome and obvious convenience.

  • Digit-Al a day ago

    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.

thunderbong a day ago

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

Unfortunately, from the article:

> Markdown import and export features.

  • azangru a day ago

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

    • 2pie a day ago

      Are you sure ? It would be faster than most electron based editors

    • jdboyd 12 hours ago

      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.

    • rippeltippel 21 hours ago

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

    • BoredomIsFun 17 hours ago

      To copy/paste LLM outputs with maintaining format.

  • mmooss a day ago

    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?

    • hotsauceror a day ago

      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.

    • chaosharmonic a day ago

      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.

    • 1718627440 a day ago

      Honestly I always prefer the "non-rendered" version, it looks way nicer and readable to the eye.

amai 19 hours ago

If you really want a good markdown editor better have a look at https://www.zettlr.com/

abmmgb a day ago

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.

  • contravariant a day ago

    At this point pandoc, that way I can at least be sure I can translate it to whatever format I need.

  • Diti a day ago

    I know it doesn’t answer your question, but: AsciiDoc. All major forges support it and it has the same features as all the other Markdown flavors combined.

  • black_knight a day ago

    I love Pandoc’s markdown. Wrote my PhD thesis in it, and most of my subsequent articles.

  • TheRealPomax a day ago

    GFM, because HTML in markdown should not be a parse error, and getting twenty different markdown "specs" to all agree on new syntax for bits they are obviously missing (like details, classed scoping, transclusions, etc) is not happening.

mmarian a day ago

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

  • alansaber a day ago

    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.

albert_e a day ago

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.

  • mrw34 a day ago
  • dotancohen a day ago

    The canonical answer is Pandoc.

  • daveoc64 a day ago

    Based on what others have suggested, I've just tried out pandoc for this, and it's produced really good results in CommonMark from some quite hideous Word documents.

  • jdboyd 12 hours ago

    I don't know about converting PowerPoint and Excel to Markdown, but for Word, I'd say open the file in LibreOffice Writer 26.2, and save as Markdown.

    Alternatively, use pandoc, and save the command in a .sh or .ps1 to remember.

  • ckcheng a day ago

    You could open the doc or docx in LibreOffice 26.2 and use its Markdown export feature?

    • albert_e a day ago

      Libreoffice cannot be installed on work PC

      • timbit42 17 hours ago

        Then instead of asking here, ask whoever controls what software you can install.

        • albert_e 16 hours ago

          I am surprised at such negative responses.

          I am asking about alternatives to LibreOffice for a reason (stated)

          Pandoc library and Microsoft Markitdown -- that other helpful comments suggested -- seem like two options that might actually work in my case and I will give them a try. My asking here was fruitful.

          Running python and using python libraries is allowed on our work pcs but not running arbitrary software and EXEs with or without an installer. I cannot override company security policy, and cannot simply "talk to" our infosec team and get them to allow me to install stuff. Hope this clarifies.

      • 1718627440 a day ago

        You can put it on and USB stick, see e.g. https://portableapps.com/, this includes a package manger and other tools.

        • cricalix a day ago

          And potentially get fired for using unauthorised software on a corporate machine. Or find out tha USB storage is disabled (which is better than getting fired).

      • ThePowerOfFuet 19 hours ago

        Then talk to whoever manages your machines.

  • KETHERCORTEX a day ago

    > until Microsoft adds "Saves As" option to office apps

    LibreOffice also allows to convert documents via command line, so there's one more bonus.

  • layer8 a day ago

    If you like to have it integrated in Word: https://www.writage.com/features/

    • albert_e 16 hours ago

      Thanks

      This might be useful on a personal PC -- licence seems expensive, though I like it being a one time purchase and not monthly subscription.

      Will look to do the free trial to evaluate. (Hope we see more such tooling, and also push the likes of Microsoft to add native support)

      My main usecase is on work PC though where I wont be able to install additional software or plugins. So was exploring python scripts and the like.

      Thanks for the pointer.

  • justsomehnguy a day ago

    Copy-paste it to Obsidian.

  • ilogik a day ago

    Microsoft added markdown support to Notepad, and that went well /s

Almondsetat a day ago

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

aussieguy1234 a day ago

It's markdown import and export. Does not support writing in Markdown.

sourcegrift a day ago

I like libreoffice but I can never bring myself to run java and electron apps on my computer.

amai 19 hours ago

Which Markdown dialect does it support?

butz a day ago

Watch out for RCEs :)

phartenfeller a day ago

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.

kkfx a day ago

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.

  • grosswait a day ago

    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?

    • anthk a day ago

      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.

    • kkfx a day ago

      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.

      • anthk 15 hours ago

        Excel and Genomics was a recipe for a disaster. Again, for home/office users, something like Wordpad with small tables, such as the ones from Ted works for a 99% of the cases.

        Everything else should never interact with a crap like Excel. Ever. Use dedicated, scientific journals for it if you are a self-called professional. Reusing a ledger sheet for serious stuff will just make companies lose billions with faulty research and papers.

        Access? Nice toy, but even Sqlite3 as a damn engine can be more powerful and straightforward once you stick any RAD UI, from Lazarus to something small in C#, which is possible in AOT. Heck, even if you have Java, by decoupling the backend you are safe to put even a TCL/Tk GUI, even it if's looks 'horrible' by default, but for serious use, you would love the default "industrial" design. Or just use the Win32 TTK lookalike which would look well on almost any PC.

        Ah, yes, reports and the like. Use a damn library to print to PDF, there are zillions. Or, just better: once you get the result in text, just paste the results back to Ted/Writer/Word and then you are free to compose the document in any style you like. Then, well, 'print' to PDF, or PS->PDF.

        It might be more complex, yes. But your data won't be mangled in the process. The results would be in a separate text file, outside of any faulty spreadsheet or wannabe database. That output should be pristine and backed up ASAP. As it's text, it's parseable from nearly every machine from 2002. Even more if it's plain ASCII, for sure a thing with science done in English and plain numbers. No localized MSOffice bullshit for formulae, no more numbers parsed as dates, ever.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection