M_Cyjb_Markdown_Document_Parse - CYJB/Cyjb.Markdown GitHub Wiki
解析指定 Markdown 字符串,并返回解析后的语法树。
Namespace: Cyjb.Markdown
Assembly: Cyjb.Markdown (in Cyjb.Markdown.dll) Version: 1.0.2+f073417ab111e884603147b5dc42e8ccc863a984
C#
public static Document Parse(
TextReader textReader,
ParseOptions? options = null
)
- textReader
- Type: System.IO.TextReader
要解析的文本读取器。 - options (Optional)
- Type: System.Nullable(ParseOptions)
解析的选项。
Type: Document
解析得到的 Markdown 语法树。