Skip to content

Commit

Permalink
Update readme file.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhuix committed Jul 26, 2024
1 parent 28be3f3 commit fadec65
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,8 @@ Default async extensions is described below:
'showdown-vega': showdownVega(vegaOptions),
'showdown-wavedrom': showdownWavedrom,
'showdown-railroad': showdownRailroad,
'showdown-abc': showdownAbc,
'showdown-echarts': showdownEcharts,
}

### Properties
Expand Down Expand Up @@ -617,10 +619,16 @@ Type: ({type:'zip', content: string} | string,
hasKatex: boolean;
hasRailroad: boolean;
hasSequence: boolean
}) => void) => Promise<string>
}) => void) => Promise\<{html, scripts}>

A async function to make markdown to html that showdown.convertor converte it in current showdowns instance.

#### completedHtml

Type: ( scripts?: [] | string) => Promise\<boolean>

A async function to completed markdown to html that append scripts to dom.

#### zDecode

Type: (data: string) => string
Expand Down

0 comments on commit fadec65

Please sign in to comment.