<< Click to display table of contents >> TCustomRichViewEdit.InsertMarkdownFromFileEd |
Inserts Markdown from file FileName at the position of caret.
function InsertMarkdownFromFileEd(const FileName: TRVUnicodeString;
CodePage: TRVCodePage = CP_UTF8): Boolean;
(Introduced in version 20)
By default, the method assumes that the file has UTF-8 encoding; but you can specify another CodePage in the parameter.
Parameters for loading are in MarkdownProperties. See the topic about the class of this property for the detailed explanation of Markdown import and export.
Unlike other file insertion methods, Markdown loading does not have an option to restrict formatting to existing text, paragraphs and list styles: it may add new styles.
By default, hyperlink targets are loaded in items tags. You can customize loading using OnReadHyperlink event.
Method type: editing-style method for insertion.
Return value:
"successful insertion?"
See also methods of TRichViewEdit:
See also methods of TRichView:
See also events of TRichView:
See also: