All URIs are relative to https://api.gitee.com/enterprises
Method | HTTP request | Description |
---|---|---|
postEnterpriseIdEditorsMd2html | POST /{enterprise_id}/editors/md2html | markdown 转 html |
postEnterpriseIdEditorsMd2html($content, $enterpriseId)
markdown 转 html
markdown 转 html
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new GiteeEnterprise\Api\EditorsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$content = "content_example"; // string | markdown 内容
$enterpriseId = 56; // int |
try {
$apiInstance->postEnterpriseIdEditorsMd2html($content, $enterpriseId);
} catch (Exception $e) {
echo 'Exception when calling EditorsApi->postEnterpriseIdEditorsMd2html: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
content | string | markdown 内容 | |
enterpriseId | int |
void (empty response body)
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]