LibreOffice Writer now supports Markdown
343 points
17 hours ago
| 13 comments
| blog.documentfoundation.org
| HN
freedomben
16 hours 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.
reply
cxr
16 hours 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>

reply
OneDeuxTriSeiGo
7 hours 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.

reply
muterad_murilax
8 hours ago
[-]
Care to explain how ODT is a proprietary format, please?
reply
bitwize
16 hours 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.

reply
twirlip
15 hours 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.
reply
ikr678
11 hours 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.

reply
thunderfork
6 hours 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.
reply
opan
14 hours 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.
reply
cxr
14 hours 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".

reply
anthk
11 hours ago
[-]
Read about RTF.
reply
WillAdams
16 hours 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).
reply
smelendez
8 hours 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.

reply
bitwize
16 hours ago
[-]
Pandoc could convert between .doc/.docx and .md, but having that in LibreOffice would still be a welcome and obvious convenience.
reply
WillAdams
15 hours ago
[-]
I haven't like using the CLI since having to give up my NeXT Cube and pbpaste/copy and so forth.
reply
Digit-Al
16 hours 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.
reply
amai
22 minutes ago
[-]
If you really want a good markdown editor better have a look at https://www.zettlr.com/
reply
amai
34 minutes ago
[-]
Which Markdown dialect does it support?
reply
amai
24 minutes ago
[-]
It seem they only support Commonmark: https://help.libreoffice.org/latest/en-US/text/swriter/guide...

So no tables, footnotes, table of content, math formulas, citations, …

So the better way to create markdown is still to use pandoc and convert your libre office documents into the much more powerful pandoc markdown dialect:

https://garrettgman.github.io/rmarkdown/authoring_pandoc_mar...

reply
abmmgb
16 hours 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.
reply
Diti
15 hours 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.
reply
contravariant
13 hours ago
[-]
At this point pandoc, that way I can at least be sure I can translate it to whatever format I need.
reply
black_knight
12 hours ago
[-]
I love Pandoc’s markdown. Wrote my PhD thesis in it, and most of my subsequent articles.
reply
TheRealPomax
15 hours 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.
reply
masfuerte
15 hours ago
[-]
HTML in markdown has never been a parse error. Unless you're using something very broken.

https://daringfireball.net/projects/markdown/syntax#html

reply
thunderbong
15 hours ago
[-]
I got really excited that I would be able to write in Markdown.

Unfortunately, from the article:

> Markdown import and export features.

reply
azangru
15 hours ago
[-]
Why would you need LibreOffice to write in Markdown? That would be, like, one of the slowest Markdown editors out there.
reply
2pie
13 hours ago
[-]
Are you sure ? It would be faster than most electron based editors
reply
rippeltippel
2 hours ago
[-]
How about opening Word documents and being able to save them to Markdown in one click? That's super useful to me.
reply
mmooss
15 hours 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?

reply
hotsauceror
14 hours 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.
reply
chaosharmonic
10 hours 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.

reply
1718627440
5 hours ago
[-]
Honestly I always prefer the "non-rendered" version, it looks way nicer and readable to the eye.
reply
mmarian
14 hours 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

reply
alansaber
14 hours 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.
reply
albert_e
16 hours 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.

reply
mrw34
16 hours ago
[-]
reply
dotancohen
16 hours ago
[-]
The canonical answer is Pandoc.
reply
daveoc64
15 hours 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.
reply
ckcheng
16 hours ago
[-]
You could open the doc or docx in LibreOffice 26.2 and use its Markdown export feature?
reply
albert_e
5 hours ago
[-]
Libreoffice cannot be installed on work PC
reply
1718627440
5 hours ago
[-]
You can put it on and USB stick, see e.g. https://portableapps.com/, this includes a package manger and other tools.
reply
cricalix
3 hours 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).
reply
KETHERCORTEX
16 hours 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.

reply
layer8
16 hours ago
[-]
If you like to have it integrated in Word: https://www.writage.com/features/
reply
justsomehnguy
14 hours ago
[-]
Copy-paste it to Obsidian.
reply
ilogik
15 hours ago
[-]
Microsoft added markdown support to Notepad, and that went well /s
reply
sourcegrift
5 hours ago
[-]
I like libreoffice but I can never bring myself to run java and electron apps on my computer.
reply
fsckboy
5 hours ago
[-]
libreoffice is written in C++
reply
aussieguy1234
10 hours ago
[-]
It's markdown import and export. Does not support writing in Markdown.
reply
Almondsetat
16 hours ago
[-]
Does it say how much Markdown is covered? I doubt that it will get the integrated Latex formulas...
reply
SoftTalker
16 hours ago
[-]
Well LaTeX formulas are not part of standard Markdown, which is a few different Header levels, simple lists, bold, italics, blockquote and... that's about it?
reply
mieses
16 hours ago
[-]
simple lists? 50 examples and still gaping holes in the logic and no consistent implementation of lists across any 2 editors.

https://spec.commonmark.org/0.31.2/#loose

reply
SoftTalker
14 hours ago
[-]
I mean standard Markdown has numbered lists and bullet point lists. That's it.
reply
mieses
12 hours ago
[-]
sounds simple until you try to use it
reply
SoftTalker
7 hours ago
[-]
I use it all the time. I don't try to make it do more than it does.
reply
butz
14 hours ago
[-]
Watch out for RCEs :)
reply
PhilippGille
11 hours ago
[-]
Reference: Windows Notepad App Remote Code Execution Vulnerability https://news.ycombinator.com/item?id=46971516
reply
alansaber
14 hours ago
[-]
It's happened before, it'll happen again.
reply
phartenfeller
15 hours 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.
reply
kkfx
15 hours 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.

reply
grosswait
14 hours 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?
reply
anthk
11 hours 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.
reply
kkfx
11 hours 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.

reply