Add markdown template (#209)

This commit is contained in:
Simon Lecoq
2021-04-06 22:22:03 +02:00
committed by GitHub
parent 175018bc67
commit 0b1bb6fcd3
11 changed files with 158 additions and 8 deletions

View File

@@ -43,8 +43,8 @@
Templates[name] = await metadata.template({__templates, name, plugins, logger})
}
//Reorder keys
const {classic, repository, community, ...templates} = Templates
Templates = {classic, repository, ...templates, community}
const {classic, repository, markdown, community, ...templates} = Templates
Templates = {classic, repository, ...templates, markdown, community}
//Packaged metadata
const packaged = JSON.parse(`${await fs.promises.readFile(__package)}`)