MarkDown中可以使用Emoji表情

MarkDown的使用和使用Emoji表情

一、MarkDown的介绍

Markdown 是一种轻量级的标记语言,广泛用于文档编辑和博客写作等领域。相比于传统的文字处理软件,Markdown 具有简洁、易读、易写的特点,可以方便地将文本转换为各种格式的文档。

二、基本语法

1. Markdown 中使用 # 符号表示标题,# 符号的数量表示标题的级别。例如,# 代表一级标题,## 代表二级标题,以此类推。标题的级别最多支持六级。2.段落和换行

2. Markdown 中使用空行来分隔段落,一个空行表示一个段落。如果想在一行内换行,可以在行末添加两个空格。

3.字体

Markdown 中使用 * 或 _ 符号表示强调,一个符号表示斜体,两个符号表示加粗。例如,斜体 和 加粗。
如:

斜体的写法为:
*斜体*或者_斜体_
斜体或者_斜体_

粗体的写法为:
**粗体**或者__粗体__
粗体或者__粗体__

粗斜体和的写法为:
***粗斜体***或者___粗斜体___
粗斜体或者___粗斜体___

删除体的写法为:
~~删除体~~
删除体

4. 列表

Markdown 中支持有序列表和无序列表。无序列表使用 *、+ 或 - 符号表示,有序列表使用数字加 . 符号表示。例如:

  • 无序列表1
  • 无序列表2
  • 无序列表3
  1. 有序列表1
  2. 有序列表2
  3. 有序列表3

5.链接

Markdown 中使用 文本 的形式表示链接,例如百度。如果要在文本中添加提示信息,可以使用 [文本][标识符] 和 [标识符]: 链接 的形式,
例如: [百度][id] 和 [id]: https://www.baidu.com/。
[百度] (https://www.baidu.com/“一个搜索引擎”) []和()中间记得不要有空格

6. 图片

Markdown 中使用 [img] (https://chat.openai.com/chat/%E5%9B%BE%E7%89%87%E9%93%BE%E6%8E%A5) 的形式表示图片,例如
百度
![百度] (https://img-blog.csdnimg.cn/8da7e6e3d2474aa3a6f1010557ceee79.png “这是百度图片”)[]和()之间不要有空格
如果要在图片中添加提示信息,可以使用 [文本][标识符] 和 [标识符]: 图片链接 的形式,例如 ![百度][id] 和 [id]: https://www.baidu.com/img/bd_logo1.png。

7.引用

Markdown 中使用 > 符号表示引用,例如:

这是一段引用文字

也可以这样
>
>>
>>>

一级引用

二级引用

三级引用

8. 代码块

Markdown 中使用 code 或 code 的形式表示代码

# 这是一段java代码
public class Student {
	public statis void main(String[] args){
		System.out.println("Hello World");
	}
}
# 使用```语言 开始    使用 ```结束
# 如```java  在这写代码   ```

9. 分割线

markdown中使用使用三个星号(***)、三个破格号(—)或者三个下划线(___)再加上换行符即可,例如:


10. 表格

Markdown 中使用 | 分隔符表示表格的列,使用 - 分隔符表示表头和表格内容,例如:

| 列1 | 列2 | 列3 |
|:—|:—: |—: |
|内容1|内容2|内容3|
|内容4|内容5|

列1列2列3
内容1内容2内容3
内容4内容5

三、扩展语法

1.脚注

Markdown 中使用 ^ [脚注名] 的形式为文本添加脚注,脚注可以在文本底部显示,例如:

这是一段文本1

2.自动链接

Markdown 中使用 <> 的形式表示链接,例如 < https://www.baidu.com/ >。

3.任务列表

Markdown 中使用 - [ ] 或 - [x] 的形式表示任务列表,未完成的任务使用 - [ ],已完成的任务使用 - [x],例如:

* [ ] 任务1
- [ ] 任务2
+ [ ] 任务3
+ [x] 任务4   
  • 任务1
  • 任务2

4.数学公式

Markdown 中使用 $ 数学公式 $
例如:$ \sum_{i=1}^n i = \frac{n(n+1)}{2} $
∑ i = 1 n i = n ( n + 1 ) 2 \sum_{i=1}^n i = \frac{n(n+1)}{2} i=1ni=2n(n+1)

四、常见的工具和平台支持 Markdown

包括:
1.Typora
Typora 是一款跨平台的 Markdown 编辑器,支持 Windows、macOS 和 Linux 系统,具有所见即所得的编辑体验。

2.GitHub
GitHub 是全球最大的开源软件平台,支持 Markdown 编辑 README、说明文档、博客文章等文档。

3.Jupyter Notebook
Jupyter Notebook 是一个开源的 Web 应用程序,支持创建和共享包含代码、文本、公式、图像和交互式可视化的代码笔记本。

4.Colab
Colab 是 Google 推出的一款基于云端的代码笔记本,用户可以使用 Markdown 编辑笔记本,支持 Python、TensorFlow 等常见的数据科学工具。

5.R Markdown
R Markdown 是 R 语言的一个扩展包,支持创建带有 Markdown 格式的 R 代码笔记本,方便记录和分享数据分析的过程和结果。

在实际应用中,需要注意以下几点:

Markdown 并不是万能的,某些复杂的排版和样式需要使用 HTML、CSS 等技术实现。
Markdown 的格式和效果与使用的工具和平台有关,不同工具和平台支持的扩展语法和样式可能存在差异。
Markdown 的语法和规范需要遵循,否则会影响文本的阅读和解析效果。
总之,Markdown 是一种简单、易用、广泛应用的文本编辑语言,掌握基本的语法和应用,能够提高文档编辑和博客写作的效率和质量。同时,需要根据实际需要选择合适的工具和平台,并遵循规范和规则,才能取得更好的效果和应用。

五、插入Emoji表情

方法一:键盘输入

这是最常见最通用的方法,只要在键盘用输入法输入表情的名称即可找到表情
比如输入“da’xiao(大笑)”就会出现“😀”
大笑
注意: 建议使用系统自带的输入法,其他输入法插入的表情可能不支持插入MarkDown!!!

方法二:快捷键选择插入

这是另一种方便的方法,只需按住下面的快捷键即可快速打开表情

Windows系统:Win+。或者Win+;
MacOS系统:control+command+space
这个方法可以插入不知道名字的表情

方法三:打开表情与符号(此方法仅限MacOS系统)

点击 MenuBar 的输入法图标,点击「显示表情与符号」即可

方法四:输入表情代码插入

将下面的表情对应的代码输入到MarkDown文章里面即可插入表情

如:输入:smile:会显示😄

下面有5种分类,且内容有点多,篇幅较长,可在在最上方的目录选择跳转到指定分类
参考地址https://unicode.org/emoji/charts/full-emoji-list.html
注意: MarkDown中的表情代码是由:表情代码:组成的不要漏掉了左右两边的:!!!
1.people
😄:smile:

😆:laughing:

😊:blush:

😃:smiley:

☺️:relaxed:

😏:smirk:

😍:heart_eyes:

😘:kissing_heart:

😚:kissing_closed_eyes:

😳:flushed:

😌:relieved:

😆:satisfied:

😁:grin:

😉:wink:

😜:stuck_out_tongue_winking_eye:

😝:stuck_out_tongue_closed_eyes:

😀:grinning:

😗:kissing:

😙:kissing_smiling_eyes:

😛:stuck_out_tongue:

😴:sleeping:

😟:worried:

😦:frowning:

😧:anguished:

😮:open_mouth:

😬:grimacing:

😕:confused:

😯:hushed:

😑:expressionless:

😒:unamused:

😅:sweat_smile:

😓:sweat:

😥:disappointed_relieved:

😩:weary:

😔:pensive:

😞:disappointed:

😖:confounded:

😨:fearful:

😰:cold_sweat:

😣:persevere:

😢:cry:

😭:sob:

😂:joy:

😲:astonished:

😱:scream:

😫:tired_face:

😠:angry:

😡:rage:

😤:triumph:

😪:sleepy:

😋:yum:

😷:mask:

😎:sunglasses:

😵:dizzy_face:

👿:imp:

😈:smiling_imp:

😐:neutral_face:

😶:no_mouth:

😇:innocent:

👽:alien:

💛:yellow_heart:

💙:blue_heart:

💜:purple_heart:

❤️:heart:

💚:green_heart:

💔:broken_heart:

💓:heartbeat:

💗:heartpulse:

💕:two_hearts:

💞:revolving_hearts:

💘:cupid:

💖:sparkling_heart:

:sparkles:

⭐️:star:

🌟:star2:

💫:dizzy:

💥:boom:

💥:collision:

💢:anger:

❗️:exclamation:

:question:

:grey_exclamation:

:grey_question:

💤:zzz:

💨:dash:

💦:sweat_drops:

🎶:notes:

🎵:musical_note:

🔥:fire:

💩:hankey:

💩:poop:

💩:shit:

👍 :+1:

👍:thumbsup:

👎:-1:

👎:thumbsdown:

👌:ok_hand:

👊:punch:

👊:facepunch:

:fist:

✌️:v:

👋:wave:

:hand:

:raised_hand:

👐:open_hands:

☝️:point_up:

👇:point_down:

👈:point_left:

👉:point_right:

🙌🙌

🙏:pray:

👆:point_up_2:

👏:clap:

💪:muscle:

🤘:metal:

🖕:fu:

🚶:walking:

🏃:runner:

🏃:running:

👫:couple:

👪:family:

👬:two_men_holding_hands:

👭:two_women_holding_hands:

💃:dancer:

👯:dancers:

🙆:ok_woman:

🙅:no_good:

💁:information_desk_person:

🙋:raising_hand:

👰:bride_with_veil:

🙎:person_with_pouting_face:

🙍:person_frowning:

🙇:bow:

💑:couple_with_heart:

💆:massage:

💇:haircut:

💅:nail_care:

👦:boy:

👧:girl:

👩:woman:

👨:man:

👶:baby:

👵:older_woman:

👴:older_man:

👱:person_with_blond_hair:

👲:man_with_gua_pi_mao:

👳:man_with_turban:

👷:construction_worker:

👮:cop:

👼:angel:

👸:princess:

😺:smiley_cat:

😸:smile_cat:

😻:heart_eyes_cat:

😽:kissing_cat:

🙈:see_no_evil:

🙉:hear_no_evil:

🙊:speak_no_evil:

💂:guardsman:

💀:skull:

🐾:feet:

👄:lips:

💋:kiss:

💧:droplet:

👂:ear:

👀:eyes:

👃:nose:

👅:tongue:

💌:love_letter:

👤:bust_in_silhouette:

👥:busts_in_silhouette:

💬:speech_balloon:

💭:thought_balloon:

2.Nature
☀️:sunny:

☔️:umbrella:

☁️:cloud:

❄️:snowflake:

⛄️:snowman:

⚡️:zap:

🌀:cyclone:

🌁:foggy:

🌊:ocean:

🐱:cat:

🐶:dog:

🐭:mouse:

🐹:hamster:

🐰:rabbit:

🐺:wolf:

🐸:frog:

🐯:tiger:

🐨:koala:

🐻:bear:

🐷:pig:

🐽:pig_nose:

🐮:cow:

🐗:boar:

🐵:monkey_face:

🐒:monkey:

🐴:horse:

🐎:racehorse:

🐫:camel:

🐑:sheep:

🐘:elephant:

🐼:panda_face:

🐍:snake:

🐦:bird:

🐤:baby_chick:

🐥:hatched_chick:

🐣:hatching_chick:

🐔:chicken:

🐧:penguin:

🐢:turtle:

🐛:bug:

🐝:honeybee:

🐜:ant:

🐞:beetle:

🐌:snail:

🐙:octopus:

🐠:tropical_fish:

🐟:fish:

🐳:whale:

🐋:whale2:

🐬:dolphin:

🐄:cow2:

🐏:ram:

🐀:rat:

🐃:water_buffalo:

🐅:tiger2:

🐇:rabbit2:

🐉:dragon:

🐐:goat:

🐓:rooster:

🐕:dog2:

🐖:pig2:

🐁:mouse2:

🐂:ox:

🐲:dragon_face:

🐡:blowfish:

🐊:crocodile:

🐪:dromedary_camel:

🐆:leopard:

🐈:cat2:

🐩:poodle:

🐾:paw_prints:

💐:bouquet:

🌸:cherry_blossom:

🌷:tulip:

🍀:four_leaf_clover:

🌹:rose:

🌻:sunflower:

🌺:hibiscus:

🍁:maple_leaf:

🍃:leaves:

🍂:fallen_leaf:

🌿:herb:

🍄:mushroom:

🌵:cactus:

🌴:palm_tree:

🌲:evergreen_tree:

🌳:deciduous_tree:

🌰:chestnut:

🌱:seedling:

🌼:blossom:

🌾:ear_of_rice:

🐚:shell:

🌐:globe_with_meridians:

🌞:sun_with_face:

🌝:full_moon_with_face:

🌚:new_moon_with_face:

🌑:new_moon:

🌒:waxing_crescent_moon:

🌓:first_quarter_moon:

🌔:waxing_gibbous_moon:

🌕:full_moon:

🌖:waning_gibbous_moon:

🌗:last_quarter_moon:

🌘:waning_crescent_moon:

🌜:last_quarter_moon_with_face:

🌛:first_quarter_moon_with_face:

🌔:moon:

🌍:earth_africa:

🌎:earth_americas:

🌏:earth_asia:

🌋:volcano:

🌌:milky_way:

⛅️:partly_sunny:

3.Object
🎍:bamboo:

💝:gift_heart:

🎎:dolls:

🎒:school_satchel:

🎓:mortar_board:

🎏:flags:

🎆:fireworks:

🎇:sparkler:

🎐:wind_chime:

🎑:rice_scene:

🎃:jack_o_lantern:

👻:ghost:

🎅:santa:

🎄:christmas_tree:

🎁:gift:

🔔:bell:

🔕:no_bell:

🎋:tanabata_tree:

🎉:tada:

🎊:confetti_ball:

🎈:balloon:

🔮:crystal_ball:

💿:cd:

📀:dvd:

💾:floppy_disk:

📷:camera:

📹:video_camera:

🎥:movie_camera:

💻:computer:

📺:tv:

📱:iphone:

☎️:phone:

☎️:telephone:

📞:telephone_receiver:

📟:pager:

:alarm_clock:

⌚️:watch:

📻:radio:

📡:satellite:

:loop:

🔍:mag:

🔎:mag_right:

🔓:unlock:

🔒:lock:

🔏:lock_with_ink_pen:

🔐:closed_lock_with_key:

🔑:key:

💡:bulb:

🔦:flashlight:

🔆:high_brightness:

🔅:low_brightness:

🔌:electric_plug:

🔋:battery:

📲:calling:

✉️:email:

📫:mailbox:

📮:postbox:

🛀:bath:

🛁:bathtub:

🚿:shower:

🚽:toilet:

🔧:wrench:

🔩:nut_and_bolt:

🔨:hammer:

💺:seat:

💰:moneybag:

💴:yen:

💵:dollar:

💷:pound:

💶:euro:

💳:credit_card:

💸:money_with_wings:

📧:e-mail:

📥:inbox_tray:

📤:outbox_tray:

✉️:envelope:

📨:incoming_envelope:

📯:postal_horn:

📪:mailbox_closed:

📬:mailbox_with_mail:

📭:mailbox_with_no_mail:

🚪:door:

🚬:smoking:

💣:bomb:

🔫:gun:

🔪:hocho:

💊:pill:

💉:syringe:

📄:page_facing_up:

📃:page_with_curl:

📑:bookmark_tabs:

📊:bar_chart:

📈:chart_with_upwards_trend:

📉:chart_with_downwards_trend:

📜:scroll:

📋:clipboard:

📆:calendar:

📅:date:

📇:card_index:

📁:file_folder:

📂:open_file_folder:

✂️:scissors:

📌:pushpin:

📎:paperclip:

✒️:black_nib:

✏️:pencil2:

📏:straight_ruler:

📐:triangular_ruler:

📕:closed_book:

📗:green_book:

📘:blue_book:

📙:orange_book:

📓:notebook:

📔:notebook_with_decorative_cover:

📒:ledger:

📚:books:

🔖:bookmark:

📛:name_badge:

🔬:microscope:

🔭:telescope:

🏀:basketball:

⚽️:soccer:

⚾️:baseball:

🎾:tennis:

🎱:8ball:

🏉:rugby_football:

🎳:bowling:

⛳️:golf:

注意: MarkDown中的表情代码是由:+表情代码+:组成的不要漏掉了两个:!!!


  1. 链接 ↩︎

  • 4
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值