formatting

This commit is contained in:
ry 2020-02-16 22:42:41 +01:00
parent 654e2a23a6
commit c0bca7cf4e
2 changed files with 9 additions and 1 deletions

8
utils/src/format.js Normal file
View file

@ -0,0 +1,8 @@
module.exports = {
bold: function (str) {
return `**${str}**`
},
code: function (str) {
return `\`${str}\``
}
}