Markdown V.S. Html, what to use to format my post?
Layoud post is quite extensive and there are different ways of doing it, the most common is the markdonwn, but it is often confused with the fact that html is the same as markdonw and it is not.
What is it html?
HTML is a Hypertext Marking Language, in English HyperText Markup Language is generally used for web page layout, and it is not a programming language as some people think, it is quite easy to learn, although It can be a bit tedious to write.
What is it Markdonw?
It is a language of light marking, I would say that it is like a "simplified HTML" created to facilitate the format application to a text, that is to say the bold, italics, links, underlining among other things, also easy to learn but much easier to write
Many platforms support both html and markdown (or just one of them) to add styles to our text such as workpress, obvious Steemit, Squarespace and whatsapp that not long ago I implement to place bold underline, italics etc ... with code markdown.
Differences between Markdown and HTML
Although there are quite a few aspects I will base on the basic differences that can be included to make a post
Type | Markdown | HTML | Result |
---|---|---|---|
bold font | **Hola mundo** | <b>hola mundo</b> | Hola mundo |
italics | _Hola mundo_ | <i>hola mundo</i> | Hola mundo |
strikethrough | ~~Hola mundo~~ | <s>hola mundo</s> | |
line break | # | <br> | hola mundo |
numbered list | 1. Elemento de lista1 | <ol><li> Hola mundo<li></ol> | 1. Hola mundo |
List | - Hola mundo | <ul><li> Hola mundo</li></ul> |
|
Center text | <center> Hola </center> | ||
Justify text | <div class="text-justify"> hola mi gente de steemit</div> | hola mi gente de steemit |
Although it is much easier to write in markdown (although sometimes it is a little complicated) if you like to write your justified texts and within the want to place bold or italics etc, you will end up using html because if you want to join markdown and html within the same block will not work.
For example:
<div class="text-justify"> Many platforms support both ** html ** and _markdown_ (or just one of them) to add *** styles *** to our text. </div>
Result:
Many platforms support both ** html ** and _markdown_ (or just one of them) to add *** styles *** to our text.
This is the reason why our bold or italics often do not work within our justified text. Another contradiction that we can have is that the justified mobile text does not look very good, much less in the partiko application and some others. But well it is everyone's subject if they use one, the other or both, for me both are super important.
Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://stackoverflow.com/questions/17250972/what-is-the-best-way-to-store-a-field-that-supports-markdown-in-my-database-when
@roxanac98, I gave you a vote!
If you follow me, I will also follow you in return!
Congratulations @roxanac98! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
Award for the number of upvotes
Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word
STOP
Do not miss the last post from @steemitboard:
Congratulations @roxanac98! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
Click here to view your Board of Honor
If you no longer want to receive notifications, reply to this comment with the word
STOP
Do not miss the last post from @steemitboard:
Congratulations @roxanac98! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
Click here to view your Board of Honor
If you no longer want to receive notifications, reply to this comment with the word
STOP
Do not miss the last post from @steemitboard:
Congratulations @roxanac98! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
Click here to view your Board of Honor
If you no longer want to receive notifications, reply to this comment with the word
STOP
Congratulations @roxanac98! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
Click here to view your Board of Honor
If you no longer want to receive notifications, reply to this comment with the word
STOP
Congratulations @roxanac98! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!