Markdown is well known format for writing tech blogs and things. I am using drupal for easy access and management for my blogging platform but I don't even know Drupal now supports Markdown. This article is fully written in markdown format.
How does it works?
The main editor is CK editor and it added support for the Drupal for better writing. However, this is not in markdown format. When you type with the markdown, it literally translates to the equivalent HTML tag of your code.
However, this is amazingly great for you to write the content without moving the keys to mouse, vice-versa, to improve your blogging experience.
A little dirty introduction to Markdown
Markdown is one of the most popular writing format for the techie writers. It is very easily written, saved in system and manipulation is typically easy. One of the markdown benefits over othodox HTML is security.
When a user input some text in HTML format, the system have to manipulate the data to show in public. HTML is a strong language and it supports user scripting and the browsers can render the output very well. This will brings auxiliary scripts to render in the browser. This will bring extra codes to the browsers which will lead to multiple leaks across the system.
Markdown have such benefits. Storing and retrieval procedures are nearly the same but the display renders are extremely formatted without worrying about the miscellaneous codes processing to the public. The system can decide that markdown texts are definitely article texts.
The real processing behind markdown plugin of CK editor 5
As I stated in earlier, it transforms the markdown to equivalent HTML tag inside the editor. The output is the same, saving the document is in your desired HTML format. CK in Drupal Supports Basic HTML and Full HTML. The document processed in HTML instead of markdown for compatibility. No worries. Just works. I only regret is I know that late until AI reveals me.