
Adds new methods and properties for Markdown export.
Features
- Markdown export
- Markdown is a lightweight markup language with plain-text-formatting syntax. It was designed to look like a plain text, and to be easy-to-read and easy-to-write.
- While it is easy to create Markdown using a plain text editor, a possibility to create Markdown documents using a rich text editor (like the TRichView component) is still useful.
- Markdown is widely used as a format of articles and notes in CMS, issue tracking systems, web sites (including GitHub, Stackoverflow, Jira).
- New methods of TRichView:
- SaveMarkdown, SaveMarkdownToStream - saving a whole document or a selected fragment as Markdown to a file or a stream.
- New properties of TRichView:
- MarkdownProperties - This property is also added to ScaleRichView editor (TSRichViewEdit) and to DevExpress editor (TcxTRichViewEdit).
- In RichViewActions, TrvActionExport ("File | Export" command) can export to Markdown files.
- The following content can be saved:
- text with emphasis (italic) and strong emphasis (bold) attributes (determined differently when StyleTemplates (named styles) are used)
- headings
- horizontal lines ("break" items)
- multilevel bullets an numbering
- block quotes (if StyleTemplates (named styles) are used, paragraphs of certain styles are exported as block quotes)
- hyperlinks
- images
- tables (optionally)
- footnotes (optionally)
- Markdown is a lightweight markup language with plain-text-formatting syntax. It was designed to look like a plain text, and to be easy-to-read and easy-to-write.
- Target DPI for TRVReportHelper
- TRVReportHelper is a component used to draw documents on the specified canvas.
- Before this version, this component always used the canvas pixel depth, which is either a printer or a screen DPI.
- Since this version, you can assign TargetPixelsPerInch to override this DPI and make the output independent of the screen DPI.