markdown block rendering extensions, converts a single Block object into its markdown or html text fragment.
BlockRenderer
01 Syntax
Microsoft.VisualBasic.MIME.text.markdown.JSONSchema.BlockRenderer
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| HtmlEncode | 1 | escape the special html characters in the given text fragment |
| AlignStyle | 1 | get the html text-align style value from the table alignment token. |
| MinInt | 1 | 返回两个整型的最小值(避免与 Linq 中 的同名扩展方法冲突,因此不在此模块内使用 Math.Min)。 |
| ToMarkdownBlock | 1 | |
| ToHtmlBlock | 1 |
03 Members
HtmlEncode(
String)escape the special html characters in the given text fragment
Parameters
| Name | Type | Description |
|---|---|---|
text | String | - |
AlignStyle(
String(), Int32)get the html text-align style value from the table alignment token.
Parameters
| Name | Type | Description |
|---|---|---|
alignments | String() | - |
i | Int32 | - |
MinInt(
Int32, Int32)返回两个整型的最小值(避免与 Linq 中 的同名扩展方法冲突,因此不在此模块内使用 Math.Min)。
ToMarkdownBlock(Block)
ToHtmlBlock(Block)