forked from gogs/go-gogs-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Miscellaneous
无闻 edited this page Aug 18, 2015
·
6 revisions
POST /markdown
Name | Type | Description |
---|---|---|
text | string | Required The Markdown text to render |
mode | string | The rendering mode, can be empty or gfm . |
in gfm mode, Markdown will be rendered with repository context |
POST /markdown/raw
The raw API takes a Markdown document as plaintext(text/plain
) and renders it as plain Markdown without a repository context.
Status: 200 OK
Content-Type: text/html
<p>Hello world gogits/gogs#1 <strong>cool</strong>, and #1!</p>