A very simple method, how did not think before

Preface:

Before I write a blog or markdown file, thinking too limited, just want to get several uses markdown, but to achieve some special features, some simple html skills can be achieved. For example, every time I posted a picture and then put a link to the video below, today whim suddenly thought can not be changed and let people see the blog a little more comfortable

text:

Previous wording

插入图片(或者直接截图粘贴)
[点这里去看之类的描述](url)

Here Insert Picture Description
Click here to see video

Here Insert Picture Description
The time to write the contents of the picture, look at the blog to see is people like that picture above.

Now I think, should be able to click on the picture to jump to play, so do not even okay
but there are two caveats, first insert a picture and insert a link does not seem to be nested, and why? Because the second point, there is the security chain mechanism, outside the chain of the picture can not be displayed.
Here Insert Picture Description
Do you give up? How is it possible, as long as you can use html html way to solve Well, it can not be confined markdown.
Now I write pictures and links

<a href="https://live.bilibili.com/21704512?spm_id_from=333.851.b_62696c695f7265706f72745f6c697665.11"><img src="https://img-blog.csdnimg.cn/20200221180345432.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3NoZWxnaQ==,size_16,color_FFFFFF,t_70"> </a>

Note img src followed by the pictures you take can be pasted or inserted into the ground behind after blog url, url original site does not have to, after all, some video shots you can not find the original image url
Here Insert Picture Description
and then I wrote this sentence in Finally, if you can now click on the picture to jump right page.

to sum up:

It sometimes still can not be too confined to their own thinking, a simple realization of a tag other advanced features can not solve a thing.

Published 85 original articles · won praise 55 · views 20000 +

Guess you like

Origin blog.csdn.net/shelgi/article/details/104432071