当前位置:网站首页>Typora operation skill description (I) md
Typora operation skill description (I) md
2022-04-23 10:55: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 .

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 :
<!-- 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/202204230617063131.html
边栏推荐
- STM32接电机驱动,杜邦线供电,然后反烧问题
- SQL Server 游标循环表数据
- How to bind a process to a specified CPU
- SQLServer 查询数据库死锁
- What if Jerry's function to locate the corresponding address is not accurate sometimes? [chapter]
- Solutions to common problems in visualization (VIII) solutions to problems in shared drawing area
- Code implementation of general bubbling, selection, insertion, hill and quick sorting
- Pytorch implementation of transformer
- Construction and traversal of binary tree
- Latex usage
猜你喜欢

【leetcode】107. Sequence traversal of binary tree II

关于JUC三大常用辅助类

Introduction to wechat applet, development history, advantages of applet, application account, development tools, initial knowledge of wxml file and wxss file

得到知识服务app原型设计比较与实践

Chapter 120 SQL function round

mysql同一个表中相同数据怎么合并

How to quickly download vscode

Solution architect's small bag - 5 types of architecture diagrams

Net start MySQL MySQL service is starting MySQL service failed to start. The service did not report any errors.

C language - custom type
随机推荐
学习网站资料
软件测试人员,如何优秀的提Bug?
得到知识服务app原型设计比较与实践
Yarn core parameter configuration
VIM + ctags + cscope development environment construction guide
ID number verification system based on visual structure - Raspberry implementation
The difference between restful and soap
SSH uses private key to connect to server without key
Arbitrary file reading vulnerability exploitation Guide
What are Jerry's usual program exceptions? [chapter]
Comparison and practice of prototype design of knowledge service app
Xshell+Xftp 下载安装步骤
Special members and magic methods
Cve-2019-0708 vulnerability exploitation of secondary vocational network security 2022 national competition
/Can etc / shadow be cracked?
Derivation and regularization
使用zerotier让异地设备组局域网
图像处理——噪声小记
【leetcode】199.二叉树的右视图
Ueditor -- limitation of 4m size of image upload component