Is there a markdown "rich text" editor?
Solution 1
Marktext would be the best choice.
Just press @ and it will help you create tables, etc, even flowcharts very easily:
Installation
-
Download the
marktext-xxx.deb
or the app-image from github:marktext, or run this code:wget https://github.com/marktext/marktext/releases/download/v0.16.3/marktext-amd64.deb sudo apt install ./marktext-amd64.deb
-
clone the git project and build with yarn
git clone https://github.com/marktext/marktext.git
Install some libs
sudo apt-get install libx11-dev libxkbfile-dev libsecret-1-dev libfontconfig-dev
Goto the marktext directory and install yarn dependencies and build the project (in the
build
directory you will find packages of your architecture plus the app-image):yarn install yarn build
-
flatpack installation
flatpak update com.github.marktext.marktext
-
AppImage
Download the AppImage from github:marktext and type the following:
chmod +x marktext-%version%-x86_64.AppImage
./marktext-%version%-x86_64.AppImage
- Now you can execute Mark Text.
Solution 2
Typora markdown editor supports images, headers, lists, tables, code fences, mathematics, diagrams, inline styles, etc. If you also have the pandoc package installed ( sudo apt install pandoc
) you can export documents from Typora in several common document formats.
To install the Typora snap package open the terminal and type:
sudo snap install typora-alanzanattadev
Typora can also make three different types of diagrams like this flowchart for example.
Mark Text is distributed in Linux as an appimage. Mark Text is better than Typora at accurately capturing everything on a webpage and Typora has a more user-friendly editor, so I use both applications. I use Mark Text as a webpage grabber, and then I copy/paste the markdown text I captured into Typora and use Typora to edit it.
Solution 3
I would prefer using VSCode itself with the extension Markdown All in One to get my job done. Here you can use the keyboard shortcuts such as Ctrl + B
for bold and Ctrl + I
for italics and at the same time see the live preview on the right side.
Here is how it looks in the VSCode: -
and the extension is
Solution 4
You can still use LO Writer with pandoc
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 1.19.2.1 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.
Admin
Updated on September 18, 2022Comments
-
Admin over 1 year
I have become fed up with writing down markdown tables scratch,
I need some "rich text editor like" program to automate creation of markdown for me and hence of tables.The only rich text editor I work with is LibreOffice Writer and it doesn't support the
.md
extension (I guess because markdown is basically plain text).I also work with Visual Studio Code, but I assume "rich text like" editing of markdown isn't possible with it.
A quick google search on Markdown rich editing text like program didn't yield a related result for me.
How could I create markdown documents in a comfortable GUI ("automated") way so the markdown will be written for me?
This would ease me creating tables I publish in my GitHub account (I wish I could rich-edit markdown tables directly on GitHub).
-
DK Bose over 4 yearsSee if writing.stackexchange.com/questions/9056/… offers some hints.
-
ddybing over 4 yearsI really like Typora. typora.io
-
abu_bua almost 3 yearsTypora is not an open-source project, and marktext (which is an mit license project) is getting better and better. Remarkable is nice but not as feature rich as the other ones.
-
cubicdragon over 4 yearsHello.
Supported export formats: HTML, ODT and PDF
..md
isn't? If so, please only clarify how it can "rich text" markdown than... Thanks anyway, -
N0rbert over 4 yearsIt should be noted that newer versions of ReText on for example 16.04 LTS may be installed using
pip3 install retext
(or with--user
for current user). Here the deb-package is a bit outdated. I install its latest 7.0.4 version this way on such systems. This editor is my daily editor. I wrote many documents with it. -
karel over 4 yearsMark Text is packaged as both flatpak and appimage packages for easy installation in Ubuntu. The flatpak package which is required for installing flatpak apps in Ubuntu can be installed with
sudo apt install flatpak
in Ubuntu 18.04 and later. -
Admin over 4 yearsHello xgdsc, thank you. Please share what is the graph of A to B&C and B&C to D means; thanks anyway,
-
xgdgsc over 4 yearsIt' s just an example of using mermaidjs.github.io/#/examples . You can describe logical relationships with this library.