1. italic

We'll start by learning two basic elements in text formatting: italics and bold. In these lessons, you'll notice some formatted red text; this text is actually written in Markdown! Regular Markdown doesn't look any different than regular text, but we're providing some highlighting to make it easier to see.

To make a phrase italic in Markdown, you can surround words with an underscore (_ ). For example, _this_ word would become italic.

2.headers

To make headers in Markdown, you preface the phrase with a hash mark (#). You place the same number of hash marks as the size of the header you want. For example, for a header one, you'd use one hash mark (# Header One), while for a header three, you'd use three (### Header Three).

3.links

We'll now learn how to make links to other web sites on the world wide web.

There are two different link types in Markdown, but both of them render the exact same way. The first link style is called an inline link. To create an inline link, you wrap the link text in brackets ( [ ] ), and then you wrap the link in parenthesis ( ( ) ). For example, to create a hyperlink to www.github.com, with a link text that says, Visit GitHub!, you'd write this in Markdown: [Visit GitHub!](www.github.com).

In the box below, make a link to www.google.com, with link text that says "Search for it."

4.images

If you know how to create links in Markdown, you can create images, too. The syntax is nearly the same.

Images also have two styles, just like links, and both of them render the exact same way. The difference between links and images is that images are prefaced with an exclamation point ( ! ).

The first image style is called an inline image link. To create an inline image link, enter an exclamation point ( ! ), wrap the alt text in brackets ( [ ] ), and then wrap the link in parenthesis ( ( ) ). (Alt text is a phrase or sentence that describes the image for the visually impaired.)

For example, to create an inline image link to https://octodex.github.com/images/bannekat.png, with an alt text that says, Benjamin Bannekat, you'd write this in Markdown: ![Benjamin Bannekat](https://octodex.github.com/images/bannekat.png).

In the box below, turn the link to an image, and fill out the alt text brackets to say "A representation of Octdrey Catburn":

5.blackquote

To create a block quote, all you have to do is preface a line with the "greater than" caret (>). For example:

6.lists

This tutorial is all about creating lists in Markdown.

There are two types of lists in the known universe: unordered and ordered. That's a fancy way of saying that there are lists with bullet points, and lists with numbers.

To create an unordered list, you'll want to preface each item in the list with an asterisk ( * ). Each list item also gets its own line.

etc.

最新文章

  1. PHP表单数据写入MySQL代码
  2. Characteristics of Some CISCs, RISCs, and Superscalar Processors
  3. 32.C++不能被继承的类[C++ Final Class]
  4. java--接口和抽象类
  5. PHP 字符串函数--替换、正则匹配等
  6. Linux下的lds链接脚本基础
  7. make TARGET_PRODUCT=am335xevm OMAPES=4.x rowboat_clean 出现sgx相关的错误
  8. [转] SOLID五大设计原则
  9. zzuli 1815: easy problem 打表
  10. Android设备唯一码的获取
  11. require()的工作流程
  12. python_类与对象学习笔记
  13. Python学习笔记【第十三篇】:Python网络编程一Socket基础
  14. Scrum冲刺阶段2
  15. 主流Linux发行版简介
  16. 删除Git管理的文件
  17. Codeforces.959E.Mahmoud and Ehab and the xor-MST(思路)
  18. Mysql update case
  19. conan-transit服上的库列表
  20. mysql之MMM高可用方案简介

热门文章

  1. phaser的小游戏的onInputDown问题
  2. Linux服务器开启tomcat的gc日志
  3. display:table的几个妙用:垂直居中、浮动……
  4. BZOJ 1189 紧急疏散(二分+最大流)
  5. logstash收集MySQL慢查询日志
  6. Ubuntu18.04 创建与编辑热点的方法
  7. 洛谷P2253 好一个一中腰鼓!
  8. Ubuntu下Sublime Text 2优化配置
  9. python---Scrapy模块的使用(二)
  10. Oracle把本地的dmp备份文件导入到本地的Oracle数据库中语句