Movatterモバイル変換


[0]ホーム

URL:


Markdown

Markdown

Renders html from Markdown text

Constructor

new Markdown(auth, apiBaseopt)

construct a Markdown

Parameters:
NameTypeAttributesDescription
authRequestable.auth

the credentials to authenticate to GitHub

apiBasestring <optional>

the base Github API URL

Source:

Methods

render(options, cbopt) → {Promise}

Render html from Markdown text.

Parameters:
NameTypeAttributesDescription
optionsObject

conversion options

Properties
NameTypeAttributesDefaultDescription
textstring <optional>

the markdown text to convert

modestring <optional>
markdown

can be eithermarkdown orgfm

contextstring <optional>

repository name if mode is gfm

cbRequestable.callback <optional>

will receive the converted html

Source:
See:
Returns:
  • the promise for the http request
Type
Promise


[8]ページ先頭

©2009-2025 Movatter.jp