Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace markdown

Index

Variables

markdownIt

markdownIt: MarkdownIt

Functions

parseMD

  • parseMD(data: string): Token[]

preprocessSearchPage

  • preprocessSearchPage(data: string): string

renderMD

  • renderMD(data: string, replaceMark?: boolean): string
  • Parameters

    • data: string
    • replaceMark: boolean = true

    Returns string

updateAsyncScript

updateDom

  • updateDom(): Promise<void>

updateHighlight

  • updateHighlight(): Promise<void>

updateInlineScript

  • updateInlineScript(path: string, title: string, data: string, isSnippet?: boolean, asyncResults?: TAsyncResult[]): string
  • Parameters

    • path: string
    • title: string
    • data: string
    • isSnippet: boolean = false
    • Optional asyncResults: TAsyncResult[]

    Returns string

updateList

  • updateList(data: string): Promise<string>

updateSearchPage

  • updateSearchPage(content: string): Promise<void>

updateSnippet

  • updateSnippet(data: string, updatedPaths: string[], asyncResults?: TAsyncResult[]): Promise<string>

Generated using TypeDoc