import { Issue } from './issue'; export function showIssueHTML(issue: Issue) { return `
Title | {{label}} |
State | {{state}} |
Assignee | {{assignee}} |
{{description}}
` .replace('{{label}}', issue.label) .replace('{{state}}', issue.issueState) .replace('{{assignee}}', issue.assignee) .replace('{{description}}', issue.body) .replace('{{label}}', issue.label); }