NEW6.00.04 · Released 16 July 2026
NEWfinPOWER Connect
Released in
6.00.04
16 July 2026
  1. Opened20 Apr
  2. Closed12 Jun
  3. Released16 Jul
Article 22537 Job J036811

Business Layer; New functionality added to parse Markdown into HTML

Markdown is used heavily in AI as both a means of instructing the AI (prompting) and also in the results that AI returns.

It is a simpler to use version of the Wiki Text already supported by finPOWER Connect.

For client-side parsing, there are many free libraries available. E.g., the AI Record Insights wizard uses marked.js (https://cdn.jsdelivr.net/npm/marked/marked.min.js).

However, there are times we need to (or it's more convenient to) parse Markdown server-side.

The following functions have been added to finBL (ISfinSupport) to achieve this:

  • CreateMarkdownParser
  • ParseMarkdown

The following sample demonstrates how to use this new functionality:

' Quick one-liner
Dim Html As String = finBL.ParseMarkdown("Hello **world**")

' Or with raw HTML
Dim Html As String = finBL.ParseMarkdown(markdownText, True)

' Or full control
Dim Parser As finMarkdownParser = finBL.CreateMarkdownParser()
Parser.AllowRawHtml = True
Dim Html As String = Parser.ConvertToHtml(markdownText)

Markdown is also available as a "value format" for summary tables (ISSummaryTable), e.g.:

   ' Create a Summary Table with Markdown content
   Dim SummaryTable As ISSummaryTable

   SummaryTable = finBL.CreateSummaryTable()

   With SummaryTable
     .Caption = "Account Notes"
      .TableClass = iseSummaryTableClass.Information

     ' Add a Markdown row
     .Rows.AddMarkdown("**Overdue** — client has been contacted via email." & vbCrLf &
                        vbCrLf &
                        "Actions taken:" & vbCrLf &
                        vbCrLf &
                        "1. Sent reminder on 15/04/2026" & vbCrLf &
                        "2. Followed up on 18/04/2026" & vbCrLf &
                        vbCrLf &
                        "> Awaiting response before escalation.")
   End With

Or:

    ' Create a Summary Table with Markdown content
    Dim SummaryTable As ISSummaryTable

    SummaryTable = finBL.CreateSummaryTable()

    With SummaryTable
      .Caption = "Review Summary"
      .TableClass = iseSummaryTableClass.TabularData

      ' Header row
      With .Rows.Add(iseSummaryTableRowClass.Header)
        .Cells.Add("Section")
        .Cells.Add("Details")
      End With

      ' Row with a Markdown cell
      With .Rows.Add()
        .Cells.Add("Findings")
        With .Cells.Add()
          .Value = "All checks **passed** except:" & vbCrLf &
               vbCrLf &
               "- [x] Identity verified" & vbCrLf &
               "- [x] Income confirmed" & vbCrLf &
               "- [ ] Bank statements outstanding"
          .ValueFormat = iseSummaryTableCellFormat.Markdown
        End With
      End With
    End With