Markdown V.S. Html, what to use to format my post?

in #steemit6 years ago

148107-OUCYD3-841.jpg

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

TypeMarkdownHTMLResult
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>Hola mundo
line break#<br>hola
mundo
numbered list1. Elemento de lista1<ol><li> Hola mundo<li></ol>1. Hola mundo
List- Hola mundo<ul><li> Hola mundo</li></ul>
  • Hola mundo
Center text
X
<center> Hola </center>
Hola
Justify text
X
<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.

and how do you like to write your posts?

QmRsc52TQaZdArzQj3viAjj4nNgmtkH1TKM68PsSsyon3r.png

Sort:  

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:

SteemitBoard Ranking update - Resteem and Resteemed added

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @roxanac98! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You made more than 1250 upvotes. Your next target is to reach 1500 upvotes.

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:

Be ready for the next contest!
Trick or Treat - Publish your scariest halloween story and win a new badge

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @roxanac98! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You made more than 1500 upvotes. Your next target is to reach 1750 upvotes.

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:

The Meet the Steemians Contest is over - Results are coming soon ...

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @roxanac98! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You made more than 1750 upvotes. Your next target is to reach 2000 upvotes.

Click here to view your Board of Honor
If you no longer want to receive notifications, reply to this comment with the word STOP

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @roxanac98! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You made more than 2000 upvotes. Your next target is to reach 3000 upvotes.

Click here to view your Board of Honor
If you no longer want to receive notifications, reply to this comment with the word STOP

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @roxanac98! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

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!