🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
Is there a markdown "rich text" editor?
November 21, 2019
Edited: November 23, 2019
September 20, 2023
Copy to clipboard: false
/assets/js/search.js will update text..
You can still use LO Writer with
Because LibreOffice supports MS Word
.doc files, this popular answer from Stack Exchange might work for you:
Pandoc supports conversion from docx to markdown directly:
pandoc -f docx -t markdown foo.docx -o foo.markdown
Several markdown formats are supported:
-t gfm (GitHub-Flavored Markdown) -t markdown_mmd (MultiMarkdown) -t markdown (pandoc’s extended Markdown) -t markdown_strict (original unextended Markdown) -t markdown_phpextra (PHP Markdown Extra) -t commonmark (CommonMark Markdown)
It also supports LibreOffice native
.odt format as illustrated in these 30 examples.
DOCX style sheets are supported better than ODT style sheets
As a github reference page notes in: Defining custom DOCX styles in LibreOffice (and Word)
In case you wonder LibreOffice handles DOCX documents very well, and
Pandoc works well with a reference docx file which has been
modified in LibreOffice. This is good because as of Pandoc 126.96.36.199
DOCX support is superior to ODT support in Pandoc, notably including
the custom-style attribute feature which doesn’t work for ODT.
Visit this github page for all kinds of great tips using pandoc.
Try it online before installing
You can try the pandoc online conversion tool before installing locally.