![]() For example, you can have ordered lists and unordered lists. There are multiple types of lists in markdown. You do that like this: X^2^ which results in this: X 2. Say you want to write an exponent - or superscript. If you want to write the chemical symbol for water, for example, you can make a subscript "2" by typing H~2~0. If you want to "cross something out" in text, use the strikethrough method, like this: ~~Strike through~~. ![]() Like this: **Bold text**Īdd single asterisks around your text to make it appear in italics, like this: *Italics* You may also use them as part of mathematical notation.Īdd double asterisks around your text. ![]() There are also subscript and superscript notation that you'll use to write the names of various chemical compounds, for example. Combining too much emphasis can make words much less clear, so choose carefully how you want to emphasize each bit of text. The ways you commonly add emphasis with text are bold, italics and strikethroughs. # H6 tag How to Add Typographical Emphasis in Markdown H1's are the biggest and generally are the "main" headers, and each header after H1 gets smaller. I'll show you how it displays visually, and also the way you create it using markdown. There are six markdown headers, H1 thorough to H6. Here are some of the most commonly used methods for manipulating text in markdown. So your mileage might vary depending on what markdown parser you're using for this cheat sheet. So let's look at all we can do with markdown.ĭisclaimer: There is no unifying body or specification to standardise markdown – just some widely accepted best practices. For example, I used markdown to write this article on freeCodeCamp. There are quite a few markup languages like XML, HTML, and the topic of this article: Markdown.ĭevelopers generally use markdown for documentation – and it is often included in most repositories. A screenshot of the GUI of the Microsoft Word software (a Rich Text Editor). Most people are familiar with Rich Text Editors – programs that allow users to add extra formatting, images, and links to their documents. Markup languages are languages that use tags to define different elements within a text document. As a developer, you have likely heard of HTML, which stands for Hyper Text Markup Language.Īnd you may know that HTML is a language used to create websites – but what does markup mean?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |