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
  • When researching a particular issue, how do people usually take notes? Like documents found, images, links, notes...

    I often research a specific topic. For example, if I come across an interesting image, I save it to my computer; documents are similar, and links are saved in my browser's Bookmarks... But when I try to find them later, I have no idea where everything I saved is, or how to search for it. Sometimes I even forget everything I've done before, and when I look back, it feels like it's all brand new 😃.

    So I'm nurturing a plan to build a storage space for everything I learn, not just for myself but also with the hope of sharing it with others. This would be a place to contain research topics, each consisting of many interconnected notes that create a complete notebook. Easy to follow, easy to write, and easy to look up...

    I write a blog, and the challenge of writing lies in the writing style and the content I want to convey. Poor writing can hinder the reader, and convoluted content can strip the soul from the piece. Many writers want to add side information to reinforce understanding, but this inadvertently makes the writing long-winded, rambling, and unfocused on the main content.

    Notebooks are created to address this issue. There's no need for overly polished writing; instead, focus on the research process, expressed through multiple short articles linked to each other. Additionally, related documents can also be saved.

    That’s the plan; I know many of you have your own note-taking methods. Therefore, I hope to receive insights from everyone. Thank you.

    » Read more
  • altcha-org/altcha is an open-source project that serves as an alternative to reCaptcha or hCaptcha.

    Studying these projects is quite interesting, as it allows you to learn how they work and how they prevent "spam" behavior 🤓

    » Read more
  • Manus has officially opened its doors to all users. For those who don't know, this is a reporting tool (making waves) similar to OpenAI's Deep Research. Each day, you get 300 free Credits for research. Each research session consumes Credits depending on the complexity of the request. Oh, and they seem to have a program giving away free Credits. I personally saw 2000 when I logged in.

    I tried it out and compared it with the same command I used before on Deep Research, and the content was completely different. Manus reports more like writing essays compared to OpenAI, which uses bullet points and tables.

    Oh, after signing up, you have to enter your phone number for verification; if there's an error, just wait until the next day and try again.

    » 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

The secret stack of Blog

As a developer, are you curious about the technology secrets or the technical debts of this blog? All secrets will be revealed in the article below. What are you waiting for, click now!

As a developer, are you curious about the technology secrets or the technical debts of this blog? All secrets will be revealed in the article below. What are you waiting for, click 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...