当前位置:网站首页>[Turn] Typora_Markdown_ picture title (caption)
[Turn] Typora_Markdown_ picture title (caption)
2022-08-10 02:13:00 【My name is Chenchen】
Typora_Markdown_image title (caption)
There are two methods in general, one is simple and rude, adding text directly under the picture as a title, and the other is encapsulation with strong scalability.
1 Title directly below
\qquad The effect is as follows.The effect of this method in "Typora">Typora can still achieve the expected effect. The title is directly below the picture, but because it is the default picture display and self-added html title, the two are programmed separately and are displayed slightly in Typora.It is inferior, the title and the picture will have the feeling of being separated by a line, which makes people feel that the title and the picture do not fit well, and the layout is not beautiful.

\qquad code is as follows:

Put the title here
2 Package
\qquad The encapsulation effect is as follows, the entire html code is not separated together, and the entire code must be written by yourself.However, as can be seen from the figure below, in the display of Typora, the picture and the title (caption) fit well, and the overall feeling is more beautiful than the method of directly adding the title.

\qquad code is as follows:

Here is the title of the image
---------------------
Author: An_Lord
Source: CSDN
Original text: https://blog.csdn.net/m0_47098916/article/details/117827687
边栏推荐
猜你喜欢
随机推荐
商业模式及其 SubDAO 深入研究
【Grpc】简介
GB28181 sip和RTSP(Real-Time Streaming Protocol)实时流控制协议
Mysql database ALTER basic operations
【kali-密码攻击】(5.2.1)密码分析:Hash Identifier(哈希识别)
字符统计柱状图
shell指定参数名传参
Moonbeam网络维护模式(Maintenance Mode)解读
color socks problem
什么是 PWA
R语言使用coxph函数构建生存分析回归模型,使用forestmodel包的forest_model函数可视化生存回归模型对应的森林图
为什么字符串一旦创建就不可以改变?
Penetration Testing and Offensive and Defense Confrontation - Vulnerability Scanning & Logic Vulnerability (Part1)
将string类对象中的内容格式化到字符串Buffer中时遇到的异常崩溃分析
Experimental support for decorators may change in future releases.Set the "experimentalDecorators" option in "tsconfig" or "jsconfig" to remove this warning
DP 优化方法合集
02| operator
What should I do if there is no sound after reinstalling the system in win10?
unity 报错 Unsafe code may only appear if compiling with /unsafe. Enable “Allow ‘unsafe‘ code“ in Pla
Not, even the volume of the king to write code in the company are copying and pasting it reasonable?









