Markdown Formatting and What You Need to Know - CommonMark Spec

Markdown Formatting and What You Need to Know - CommonMark Spec

Daily short news for you
  • Competition in the model race is becoming increasingly fierce, with tech companies not wanting to be left behind. Llama 4 Scout and Llama 4 Maverick are the latest open-source models from Meta, touted for their superior performance, even surpassing the most advanced models like GPT-4.5, Claude Sonnet 3.7, and Gemini 2.0 Pro... However, alongside this, Scout and Maverick are facing criticism over cheating allegations. Should we trust Meta once again? 🤔

    Llama 4 Scandal: Meta’s release of Llama 4 overshadowed by cheating allegations on AI benchmark

    » Read more
  • Today, I accidentally came across the website notes.andymatuschak.org which has a very interesting note-taking method. Clicking on a link opens a new tab next to it. Each time you click, it continues to open. Just like filing cabinets.

    This presentation style is not only easy to follow but also aligns with the flow of thought. It's a pity that I can't find the author of this open-source project. I wonder if there's anything similar out there 🤔

    » Read more
  • Instagram has just introduced a video editing app for content creators called Edits. This is a direct competition with popular apps on the market. However, it might take some time because looking at the features, they are still quite basic, just enough to use.

    By the way, I've been "playing" on IG for over 10 years now. Anyone with IG, please leave your account for me to check out 🥳.

    My IG is hoaitx_

    » Read more

The Issue

A long time ago, whenever I downloaded a tool from the internet and unpacked it, there would often be a file named "README.MD" and the uploader would always advise to read the contents to understand how to use it. At that time, I was only curious about the .MD extension because it was just a regular text file, so why not .TXT!?

A little later, when I learned how to use GitHub, I read many recommendations to create a "README.MD" file to provide a brief description of the project. Back then, my writing style was simply using bullet points to summarize the main points. I started noticing other repositories on GitHub because, when accessed, they displayed scientific and attractive descriptions. That was when I learned about Markdown.

After using it for a while, I realized that Markdown is a wonderful concept and brings many benefits. Therefore, today I would like to write an article about this formatting, why it should be used, and give those who have known about Markdown but haven't paid much attention to it a chance to learn more about this formatting.

What is Markdown?

Markdown is a simple markup language created by John Gruber in 2004 with the purpose of easily writing and reading documents that can be converted to HTML or other formats.

Markdown allows you to easily create text using characters to mark styles, sizes, formats, links, images, etc. Markdown can be used in various scenarios, including writing blogs, technical documents, forum posts, and note-taking.

You will find Markdown appearing frequently in the source code of software and projects. One reason is that it is easy to write, and the other is its ability to convert dull text lines into dynamic web pages.

Github README.MD

Why Use Markdown?

Markdown helps writers focus on content rather than worrying about text formatting. When using popular text editors like Word, you have to write while using feature buttons or tools to align, format, create headers, lists, etc. With Markdown, you only need to follow rules and enclose the text between characters that represent formatting actions. Additionally, Markdown is easy to learn and use, requiring minimal technical knowledge.

For example, a formatted text section as a header in Markdown would be:

# Heading
## Subheading
### Sub-subheading

There are many reasons why Markdown should be used. Here are some of them:

  • Easy to learn and write: Markdown is a simple and easy-to-learn markup language. Writing text in Markdown is also very easy and quick, without the need for complex software. Anything can be written as long as you can create and save character files.
  • Easy conversion to different formats: Markdown can be easily converted to various formats such as HTML, PDF, LaTex, EPUB, etc.
  • Focus on content: Writers can focus on writing rather than worrying about text formatting.
  • Supports various formatting styles: Markdown supports many features such as creating headers, bold and italic text, creating lists, creating links, inserting images, including source code, creating tables, etc.
  • Easy to manage: Markdown is a simple text format that is easy to manage, track, and modify. There are many software tools that support the management of Markdown files very well.

In conclusion, using Markdown has many benefits, helping writers focus on content, enabling easy conversion to different formats, and being suitable for various purposes.

Limitations of Markdown

Although Markdown has many advantages, it also has some limitations.

Being just a simple text file, it is difficult for Markdown to meet various formatting needs like when using a regular text editor. It lacks features like aligning margins, character spacing, line spacing, and many others.

Without a real-time conversion tool, text written in Markdown can be difficult to understand due to the formatting characters used.

In summary, Markdown may not be suitable for cases that require complex formatting, but it can be very useful when the focus is on content.

CommonMark Spec

Since Markdown was created by John Gruber, his version can be considered the most standard one. In reality, relying solely on it has limitations in terms of features, especially with today's increasing formatting needs.

That is why many individuals and organizations have tried to enhance Markdown with additional features. Among them, CommonMark, a "standard" version of Markdown, is particularly well-known. It was created to ensure consistency among different Markdown editors and to make creating and displaying Markdown documents more uniform.

CommonMark provides a common set of rules for Markdown documents, helping Markdown editors interpret and display these document formats consistently.

In other words, CommonMark is considered a high-quality and reliable Markdown standard. Markdown editors such as Visual Studio Code, Atom, Sublime Text, and Emacs all support CommonMark and its new features.

If you are using Markdown for writing or publishing on multiple supported platforms, considering CommonMark will give you more formatting options for your documents.

Conclusion

Markdown is a simple markup language widely used for creating documents on various platforms. Markdown is easy to learn and write, with certain limitations and advantages. CommonMark is one of the "efforts" to create a standard for Markdown formatting, aiming to standardize the way of writing and displaying text across different environments.

Premium
Hello

Me & the desire to "play with words"

Have you tried writing? And then failed or not satisfied? At 2coffee.dev we have had a hard time with writing. Don't be discouraged, because now we have a way to help you. Click to become a member now!

Have you tried writing? And then failed or not satisfied? At 2coffee.dev we have had a hard time with writing. Don't be discouraged, because now we have a way to help you. Click to become a member now!

View all

Subscribe to receive new article notifications

or
* The summary newsletter is sent every 1-2 weeks, cancel anytime.

Comments (0)

Leave a comment...