-
Notifications
You must be signed in to change notification settings - Fork 741
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes issue #165
- github-api-2.0.0-alpha-2
- github-api-2.0.0-alpha-1
- github-api-2.0-alpha-3
- github-api-1.327
- github-api-1.326
- github-api-1.325
- github-api-1.324
- github-api-1.323
- github-api-1.322
- github-api-1.321
- github-api-1.320
- github-api-1.319
- github-api-1.318
- github-api-1.317
- github-api-1.316
- github-api-1.315
- github-api-1.314
- github-api-1.313
- github-api-1.308
- github-api-1.307
- github-api-1.306
- github-api-1.305
- github-api-1.303
- github-api-1.302
- github-api-1.301
- github-api-1.300
- github-api-1.135
- github-api-1.133
- github-api-1.132
- github-api-1.131
- github-api-1.130
- github-api-1.129
- github-api-1.128
- github-api-1.127
- github-api-1.126
- github-api-1.125
- github-api-1.124
- github-api-1.123
- github-api-1.122
- github-api-1.121
- github-api-1.120
- github-api-1.119
- github-api-1.118
- github-api-1.117
- github-api-1.116
- github-api-1.115
- github-api-1.114
- github-api-1.113
- github-api-1.112
- github-api-1.111
- github-api-1.110
- github-api-1.109
- github-api-1.108
- github-api-1.107
- github-api-1.106
- github-api-1.105
- github-api-1.103
- github-api-1.102
- github-api-1.101
- github-api-1.100
- github-api-1.99
- github-api-1.95
- github-api-1.94
- github-api-1.93
- github-api-1.92
- github-api-1.91
- github-api-1.90
- github-api-1.89
- github-api-1.88
- github-api-1.87
- github-api-1.86
- github-api-1.85
- github-api-1.84
- github-api-1.83
- github-api-1.82
- github-api-1.81
- github-api-1.80
- github-api-1.79
- github-api-1.78
- github-api-1.77
- github-api-1.76
- github-api-1.75
- github-api-1.74
- github-api-1.73
- github-api-1.72
- github-api-1.71
- github-api-1.70
- github-api-1.69
- github-api-1.68
- github-api-1.67
- github-api-1.66
- github-api-1.64
Showing
5 changed files
with
87 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package org.kohsuke.github; | ||
|
||
import java.util.Locale; | ||
|
||
/** | ||
* Rendering mode of markdown. | ||
* | ||
* @author Kohsuke Kawaguchi | ||
* @see GitHub#renderMarkdown(String) | ||
* @see GHRepository#renderMarkdown(String, MarkdownMode) | ||
*/ | ||
public enum MarkdownMode { | ||
/** | ||
* Render a document as plain Markdown, just like README files are rendered. | ||
*/ | ||
MARKDOWN, | ||
/** | ||
* Render a document as user-content, e.g. like user comments or issues are rendered. | ||
* In GFM mode, hard line breaks are always taken into account, and issue and user | ||
* mentions are linked accordingly. | ||
* | ||
* @see GHRepository#renderMarkdown(String, MarkdownMode) | ||
*/ | ||
GFM; | ||
|
||
public String toString() { | ||
return name().toLowerCase(Locale.ENGLISH); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters