5

发布 markdown 小功能:指定图片尺寸

 11 months ago
source link: https://www.cnblogs.com/cmt/p/17430813.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

发布 markdown 小功能:指定图片尺寸

之前园子的 markdown 功能多年落后,这两年我们正在努力赶上。

今天发布一个 markdown 小功能,可以通过 markdown 语法指定图片尺寸。

指定宽度 =200x

![](https://img2023.cnblogs.com/blog/35695/202305/35695-20230503220505053-573338604.png =200x)
35695-20230503220505053-573338604.png

指定高度 =x300

![](https://img2023.cnblogs.com/blog/35695/202305/35695-20230503220505053-573338604.png =x300)
35695-20230503220505053-573338604.png

指定宽度与高度 =223x300

![](https://img2023.cnblogs.com/blog/35695/202305/35695-20230503220505053-573338604.png =223x300)
35695-20230503220505053-573338604.png

另外,分享一下之前早已发布2个的 markdown 小功能。

1、markdown 多行引用 >>>

>>>
代码改变世界
>>>

代码改变世界

2、高亮显示代码块中的指定行
35695-20230525130820762-1239386475.png

function foo() {
  return bar().then((res) => {
    return res.doSomething()
  })
}

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK