21

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

6 Answers6

9

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

Rahul
  • 405
9

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.
abu_bua
  • 11,313
xgdgsc
  • 1,146
  • 7
  • 15
8

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.

karel
  • 122,292
  • 133
  • 301
  • 332
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.

0

I've used this online markdown tables generator many times, and it works well.

MDeBusk
  • 1,386
0

Obsidian - https://obsidian.md/

It is a very versatile and useful markdown viewer/editor. To install obsidian in all currently supported versions of Ubuntu run the following command.

sudo snap install obsidian --classic

To make tables:

enter image description here

Click in the + sign to add rows/columns enter image description here

enter image description here

Plugins:

enter image description here

karel
  • 122,292
  • 133
  • 301
  • 332
arod
  • 101
  • 2