Is there a markdown "rich text" editor?

8,101

Solution 1

Marktext would be the best choice.

Just press @ and it will help you create tables, etc, even flowcharts very easily:

enter image description here enter image description here enter image description here

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:

    1. chmod +x marktext-%version%-x86_64.AppImage
    2. ./marktext-%version%-x86_64.AppImage
    3. 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.

flowchart

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: - enter image description here

and the extension is

enter image description here

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.

Share:
8,101
Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    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
      DK Bose over 4 years
    • ddybing
      ddybing over 4 years
      I really like Typora. typora.io
    • abu_bua
      abu_bua almost 3 years
      Typora 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
    cubicdragon over 4 years
    Hello. 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
    N0rbert over 4 years
    It 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
    karel over 4 years
    Mark 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
    Admin over 4 years
    Hello xgdsc, thank you. Please share what is the graph of A to B&C and B&C to D means; thanks anyway,
  • xgdgsc
    xgdgsc over 4 years
    It' s just an example of using mermaidjs.github.io/#/examples . You can describe logical relationships with this library.