ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / String functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Converts a Markdown string to a DOCX file.
Example
MyDocument is Document
MyInitialString is string = "*Italic text*"
 
MyDocument = MarkdownToDOCX(MyInitialString)
Syntax
<Result> = MarkdownToDOCX(<Markdown string>)
<Result>: Document variable
Document variable that contains the result of the conversion.
<Markdown string>: Character string
Markdown string to be handled..
Remarks
  • The page size is the default size of a variable of type Document (A4 size).
  • If the Markdown text contains:
    • text without Markdown tags, the default style of Document variables ("Normal" style) will be applied.
    • text with markdown tags, the default text style and then the attributes of the corresponding Markdown text (bold, underlined, etc.) will be applied.
  • Markdown text between style tags (Heading level 1, Heading level 2, etc.) will have an equivalent style ("Title 1", "Title 2") in the resulting document.
  • You can edit all the characteristics of the resulting document (page format, style, etc.) using the functions and properties associated with Document variables.
Business / UI classification: Neutral code
Component: wd290mdl.dll
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/09/2022

Send a report | Local help