@@ -25,7 +25,7 @@ export class MarkdownAPI {
2525 /**
2626 * Creates a markdown builder.
2727 */
28- createBuilder ( ) : MarkdownBuilder {
28+ public createBuilder ( ) : MarkdownBuilder {
2929 return new MarkdownBuilder ( ) ;
3030 }
3131
@@ -36,7 +36,7 @@ export class MarkdownAPI {
3636 *
3737 * @param markdown the string to wrap
3838 */
39- create ( markdown : string ) : MarkdownString {
39+ public create ( markdown : string ) : MarkdownString {
4040 return new MarkdownString ( markdown ) ;
4141 }
4242
@@ -45,7 +45,7 @@ export class MarkdownAPI {
4545 *
4646 * @param text
4747 */
48- createText ( text : string ) : TextElement {
48+ public createText ( text : string ) : TextElement {
4949 return new TextElement ( text , false , false , false ) ;
5050 }
5151
@@ -54,7 +54,7 @@ export class MarkdownAPI {
5454 *
5555 * @param text
5656 */
57- createBoldText ( text : string ) : TextElement {
57+ public createBoldText ( text : string ) : TextElement {
5858 return new TextElement ( text , true , false , false ) ;
5959 }
6060
@@ -63,7 +63,7 @@ export class MarkdownAPI {
6363 *
6464 * @param text
6565 */
66- createCursiveText ( text : string ) : TextElement {
66+ public createCursiveText ( text : string ) : TextElement {
6767 return new TextElement ( text , false , true , false ) ;
6868 }
6969
@@ -72,7 +72,7 @@ export class MarkdownAPI {
7272 *
7373 * @param text
7474 */
75- createUnderlinedText ( text : string ) : TextElement {
75+ public createUnderlinedText ( text : string ) : TextElement {
7676 return new TextElement ( text , false , false , true ) ;
7777 }
7878
@@ -81,7 +81,7 @@ export class MarkdownAPI {
8181 *
8282 * @param text
8383 */
84- createCode ( text : string ) : CodeElement {
84+ public createCode ( text : string ) : CodeElement {
8585 return new CodeElement ( text ) ;
8686 }
8787
@@ -90,7 +90,7 @@ export class MarkdownAPI {
9090 *
9191 * @param content
9292 */
93- createParagraph ( content : string ) : ParagraphElement {
93+ public createParagraph ( content : string ) : ParagraphElement {
9494 return new ParagraphElement ( content ) ;
9595 }
9696
@@ -100,14 +100,14 @@ export class MarkdownAPI {
100100 * @param level the level of the heading from 1 to 6
101101 * @param content the text of the heading
102102 */
103- createHeading ( level : number , content : string ) : HeadingElement {
103+ public createHeading ( level : number , content : string ) : HeadingElement {
104104 return new HeadingElement ( level , content ) ;
105105 }
106106
107107 /**
108108 * Creates a new markdown block quote element.
109109 */
110- createBlockQuote ( ) : BlockQuoteElement {
110+ public createBlockQuote ( ) : BlockQuoteElement {
111111 return new BlockQuoteElement ( ) ;
112112 }
113113
@@ -118,7 +118,7 @@ export class MarkdownAPI {
118118 * @param type the type of the callout
119119 * @param args the callout args, optional
120120 */
121- createCallout ( title : string , type : string , args : string = '' ) : CalloutElement {
121+ public createCallout ( title : string , type : string , args : string = '' ) : CalloutElement {
122122 return new CalloutElement ( title , type , args ) ;
123123 }
124124
@@ -128,7 +128,7 @@ export class MarkdownAPI {
128128 * @param language the language of the code block
129129 * @param content the content of the code block
130130 */
131- createCodeBlock ( language : string , content : string ) : CodeBlockElement {
131+ public createCodeBlock ( language : string , content : string ) : CodeBlockElement {
132132 return new CodeBlockElement ( language , content ) ;
133133 }
134134
@@ -138,7 +138,7 @@ export class MarkdownAPI {
138138 * @param header the header row
139139 * @param body the table body
140140 */
141- createTable ( header : string [ ] , body : string [ ] [ ] ) : TableElement {
141+ public createTable ( header : string [ ] , body : string [ ] [ ] ) : TableElement {
142142 return new TableElement ( header , body ) ;
143143 }
144144}
0 commit comments