mirror of
https://github.com/ikatyang/emoji-cheat-sheet.git
synced 2024-11-22 10:23:51 +01:00
Update markdown format
This commit is contained in:
parent
632aae66e0
commit
e8d4ee96fa
@ -19,7 +19,7 @@ module.exports = class Markdown {
|
|||||||
const emojis = emojiTable[catalog];
|
const emojis = emojiTable[catalog];
|
||||||
return format(`
|
return format(`
|
||||||
|
|
||||||
## ${catalog}
|
### ${catalog}
|
||||||
|
|
||||||
${this.createTable(emojis, columnDivisions)}
|
${this.createTable(emojis, columnDivisions)}
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ module.exports = class Markdown {
|
|||||||
rowEmojis.push('');
|
rowEmojis.push('');
|
||||||
table += format(`
|
table += format(`
|
||||||
|
|
||||||
| [↑](#table-of-contents) |${rowEmojis.map((emoji) => ` :${emoji}: | \`:${emoji}:\` `).join(' | ')}|
|
| [top](#table-of-contents) |${rowEmojis.map((emoji) => ` :${emoji}: | \`:${emoji}:\` `).join(' | ')}|
|
||||||
|
|
||||||
`) + '\n';
|
`) + '\n';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user