PythonMarkdown扩展,用于设置变量类型的内联样式
pymdown-typehint的Python项目详细描述
Python标记扩展:typehint
Python-Markdown的扩展名。将[@TYPENAME]
文本替换为具有唯一颜色的样式“bubble”。在
示例输入
## Uppercase
[@ANY]
[@ARRAY]
[@BOOLEAN]
[@CLASS]
[@DATE]
[@ELEMENT]
[@FLOAT]
[@FUNCTION]
[@INT]
[@NUMBER]
[@OBJECT]
[@REGEXP]
[@STRING]
## Title Case
[@Any]
[@Array]
[@Boolean]
[@Class]
[@Date]
[@Element]
[@Float]
[@Function]
[@Int]
[@Number]
[@Object]
[@RegExp]
[@String]
## Lower Case
[@any]
[@array]
[@boolean]
[@class]
[@date]
[@element]
[@float]
[@function]
[@int]
[@number]
[@object]
[@regexp]
[@string]
## Custom
[@any any]
[@array \[\]]
[@boolean true]
[@class MyClass]
[@date myDate]
[@element HTMLElement]
[@float 4.32]
[@function myFunction]
[@int 32]
[@number myNumber]
[@object {}]
[@regexp myRegex]
[@string 'testing']
输出示例
- 项目
标签: