当前位置:网站首页>Typora operation skill description (I)
Typora operation skill description (I)
2022-04-23 10:54:00 【The big pig of the little pig family】
One . typeface
1.1 Multiple color Fonts
Typora The default font color is black , Different from other software Typora The font color is related to the theme settings used , stay CSS In the file, you can set global font related attributes in the following areas .
[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-AOKpP61z-1650600335809)(Typora Operation skill description ( One ).assets/image-20220422112026937.png)]
But this approach is not flexible enough ,Typora Fonts in can be nested HTML, So you can use render inline HTML.
1.1.1 Quickly set font color
If you only need to adjust the font color , Then you can use <font color>text</font>
A tag modifies a paragraph of text , Can achieve the effect of changing the color .
Example :
- In red
- Gold font
- In blue
Sample source code :
<font color="red"> In red </font>
<font color='gold'> Gold font </font>
<font color='blue'> In blue </font>
1.1.2 Fine tune the font
If you want to fine tune a paragraph of text, you need to use <span></span>
Label and specify its name style attribute .style Use... Between each attribute value of the attribute ; Segmentation .
stay style The font color can be specified in the attribute 、 The background color 、 Font alignment, etc .
Examples are as follows :
- Black bottom white character : Black bottom white character .
- Black bottom white character 、 Specify as italic : Black bottom white character
- Italicized white words on a black background change the size of the left margin : Black bottom white character
- White characters on a black background in italics 、 Specify as italic 、 Change the size of the left margin and add a yellow border at the bottom : Black bottom white character
- White characters on a black background in italics 、 Specify as italic 、 Change the left margin size 、 Add a yellow border at the bottom 、 Set the alignment and fillet : Black bottom white character
The sample source code is as follows (CSDN I can't see the effect on , You can copy the source code and try it yourself ):
<!-- Black bottom white character -->
<span style=" background:black;color:rgb(255, 255, 255)"> Black bottom white character </span>
<!-- Black bottom white character 、 Specify as italic -->
<span style=" background:black;color:rgb(255, 255, 255);font-style:italic"> Black bottom white character </span>
<!-- Italicized white words on a black background change the size of the left margin -->
<span style=" background:black;color:rgb(255, 255, 255);font-style:italic;margin-left:20px"> Black bottom white character </span>
<!-- White characters on a black background in italics 、 Specify as italic 、 Change the size of the left margin and add a yellow border at the bottom -->
<span style=" background:black;color:rgb(255, 255, 255);font-style:italic;margin-left:20px;border-bottom: 15px solid #FFFF00"> Black bottom white character </span>
<!-- White characters on a black background in italics 、 Specify as italic 、 Change the left margin size 、 Add a yellow border at the bottom 、 Set the alignment and fillet -->
<span style=" background:black;color:rgb(255, 255, 255);font-style:italic;margin-left:20px;border-bottom: 15px solid #FFFF00;text-align:right;border-radius: 0.4rem;"> Black bottom white character </span>
1.2 More Fonts
If you find that the normal input method cannot meet the required font , There are two solutions :
- Use HTML Inline rendering HTML Entity . for example : perhaps £
- Use LaTex Symbol . α \alpha α perhaps θ \theta θ
Sample source code :
® perhaps £
$\alpha$ perhaps $\theta$
Two . Link details
To be continued !!
版权声明
本文为[The big pig of the little pig family]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230617063100.html
边栏推荐
- Leetcode22: bracket generation
- 任意文件读取漏洞 利用指南
- Visual common drawing (III) area map
- How can swagger2 custom parameter annotations not be displayed
- 得到知识服务app原型设计比较与实践
- How to Ping Baidu development board
- SWAT—Samba WEB管理工具介绍
- 使用zerotier让异地设备组局域网
- What are Jerry's usual program exceptions? [chapter]
- 解决方案架构师的小锦囊 - 架构图的 5 种类型
猜你喜欢
Visualization Road (10) detailed explanation of segmentation canvas function
Visual solutions to common problems (VIII) mathematical formulas
第六站神京门户-------手机号码的转换
Jerry's more accurate determination of abnormal address [chapter]
SSH uses private key to connect to server without key
Solution architect's small bag - 5 types of architecture diagrams
Six practices of Windows operating system security attack and defense
Deploy jar package
Ueditor -- limitation of 4m size of image upload component
mysql同一个表中相同数据怎么合并
随机推荐
Define linked list (linked list)
微信小程序中app.js文件、组件、api
Chapter 120 SQL function round
关于JUC三大常用辅助类
Jerry sometimes finds that the memory has been tampered with, but there is no exception. How should he find it? [chapter]
Net start MySQL MySQL service is starting MySQL service failed to start. The service did not report any errors.
VScode
202. Happy number
Precautions for latex formula
Cve-2019-0708 vulnerability exploitation of secondary vocational network security 2022 national competition
【leetcode】107. Sequence traversal of binary tree II
Swagger2 接口如何导入Postman
Anaconda3 installation
Construction and traversal of binary tree
Simple thoughts on the design of a microblog database
How can swagger2 custom parameter annotations not be displayed
Code implementation of general bubbling, selection, insertion, hill and quick sorting
使用zerotier让异地设备组局域网
【leetcode】107.二叉树的层序遍历II
Deploy jar package