13

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

5
+500

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

  • 1
    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. – karel Nov 23 at 8:09
  • Hello xgdsc, thank you. Please share what is the graph of A to B&C and B&C to D means; thanks anyway, – JohnDoea Nov 25 at 6:21
  • It' s just an example of using mermaidjs.github.io/#/examples . You can describe logical relationships with this library. – xgdgsc Nov 26 at 1:05
9

Mark It Down is a web application that can one-click convert rich content from a webpage or text editor to markdown. The output markdown from Mark It Down looks quite a lot like the original rich content. The next three screenshots demonstrate what Mark It Down does. No editing was done to the original rich content except for copy/paste and one-click conversion to markdown.

Rich content copied from a webpage into Mark it Down Rich content copy/pasted from a webpage into Mark it Down

Rich content copied from Mark it Down into Typora markdown editor
Rich content copied from Mark it Down into Typora markdown editor

Migration steps after linking from Fabric

Welcome to Firebase!

Now that you've migrated your app to Firebase, there are a couple things you'll want to learn about and set up for Firebase:

Rich content copied from Mark it Down into Ask Ubuntu

Unfortunately Mark It Down cannot properly convert rich content from webpage tables. To quickly create markdown tables you need to install an application like Typora which can be installed from Ubuntu Software.


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.

When I tried copy/pasting the rich content from a webpage in the first screenshot into Typora it automatically formatted all of the hyperlinks and the bullet points, but it didn't do as well as Mark It Down because of two problems.

  1. Typora did not format the heading.
  2. Typora omitted the spaces between two words 5 times.

With a long document this would be time-consuming to fix, but markdown documents are usually short, so I don't think this is a major problem. Typora automatically captures images from webpages too.

To install the Typora snap package open the terminal and type:

sudo snap install typora-alanzanattadev

Typora can create a formatted table directly in its GUI. All formatting including table formatting and column widths is done by Typora automatically. Entering data in the cells is done directly by typing or copy/pasting into the pre-formatted table, one cell at a time. Data entry doesn't too long for a small table like this.

formatted table

You can see how difficult it would be to create the same table without using the Typora GUI by selecting View -> Source Code Mode to view the table's markdown text.

Source Code Mode

Typora can also make three different types of diagrams like this flowchart for example.

flowchart

  • 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, – JohnDoea Nov 20 at 8:22
  • 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. – N0rbert Nov 22 at 21:07
7

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

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.