import HTMLFomatter from 'github-wiki-notifier/src/formatters/HTMLFormatter.js'
HTMLFomatter
Constructor Summary
Public Constructor | ||
public |
constructor(maxLength: *) |
Member Summary
Public Members | ||
public |
maxLength: * |
Method Summary
Public Methods | ||
public |
createDiff(diffString: string): string Convert Diff string to HTML |
|
public |
createHeader(page: Object, user: Object, repository: Object): string Create HTML for Header |
|
public |
createMessage(diffs: Object[] | string[], repository: Object | string, user: Object, maxLength: number): string create HTML for sending message |
Public Constructors
public constructor(maxLength: *) source
Params:
Name | Type | Attribute | Description |
maxLength | * |
Public Members
public maxLength: * source
Public Methods
public createDiff(diffString: string): string source
Convert Diff string to HTML
Params:
Name | Type | Attribute | Description |
diffString | string | diff string |
public createHeader(page: Object, user: Object, repository: Object): string source
Create HTML for Header