当前位置:网站首页>Markdown 技能树(5):图片
Markdown 技能树(5):图片
2022-06-29 06:38:00 【programmer_ada】
Markdown 技能树(5):图片
Markdown 使用一种和链接很相似的语法来标记图片,同样也允许两种样式: 行内和参考。
行内形式图片
行内形式图片的语法格式为,比如:


参考形式图片
参考形式图片的语法格式为如下:
![Alt text][id]
[id]: url/to/image "Optional title attribute"
比如:
![Git 课程][git]
[git]: /img/5c/43587c6f35898bc8cadb1ead5ad8ce.jpg

到目前为止, Markdown 还没有办法指定图片的宽高,如果需要的话,可以使用普通的 标签。
<img src="/img/5c/43587c6f35898bc8cadb1ead5ad8ce.jpg" width="300px" height="200px" alt="好好学习">
小结
让我们来回顾一下图片的知识点吧:
- 可以使用
的格式添加一个图片 - 可以使用 参考样式 的格式添加一个图片,其结构为
![内容][1]+[1]: image_url "alt 提示"的组合
边栏推荐
- [QNX Hypervisor 2.2用户手册]6.2.1 Guest之间通信
- Vite quick start
- Introduction to Ceres Quartet
- Redis of NoSQL database (I): Installation & Introduction
- Error: GPG check FAILED Once install MySQL
- 2022.6.27-----leetcode.522
- 你真的懂 “Binder 一次拷贝吗“?
- List collection implements paging
- 利用IPv6实现公网访问远程桌面
- package. Are you familiar with all configuration items and their usage of JSON
猜你喜欢
![[C language] flexible array](/img/22/3255740602232abfdf69624762adca.jpg)
[C language] flexible array

CI工具Jenkins之二:搭建一个简单的CI项目

How to fix Error: Failed to download metadata for repo ‘appstream‘: Cannot prepare internal mirrorli

. NETCORE uses redis to limit the number of interface accesses

Qt 程序打包发布-windeployqt工具

To: Hou Hong: the key to enterprise digital transformation is not technology, but strategy

把多个ROC曲线画在一张图上

Spark RDD案例:统计每日新增用户

The realization of changing pop-up background at any time

Suggestions on digital transformation of large chemical enterprises
随机推荐
The annual technology inventory of cloud primitives was released, and it was the right time to ride the wind and waves
The meaning and calculation method of receptive field
Qt QLineEdit详解
json tobean
To: Hou Hong: the key to enterprise digital transformation is not technology, but strategy
QT foreach keyword
json tobean
Redis in NoSQL database (4): redis publishing and subscription
Redis de la base de données nosql (v): redis Jedis Tests
CI工具Jenkins安装配置教程
Introduction to QT qfileinfo
List集合实现分页
转:侯宏:企业数字化转型的关键不是技术,而是战略
数据库-同义词
Solve the problem that NPM does not have permission
通过keyup监听textarea输入更改按钮样式
. NETCORE uses redis to limit the number of interface accesses
Ci tool Jenkins II: build a simple CI project
Introduction to NoSQL database
Method of changing host name (permanent)