mirror of
https://github.com/fmhy/edit.git
synced 2025-07-30 07:42:18 +10:00
feat: feedback v2
This commit is contained in:
parent
d17887ca75
commit
9faa251c86
26 changed files with 1042 additions and 419 deletions
|
@ -125,12 +125,14 @@ export function getHeader(id: string) {
|
|||
|
||||
const description = '<p class="text-black dark:text-text-2">'
|
||||
|
||||
const feedback = '<Feedback />'
|
||||
|
||||
const data = headers[id]
|
||||
let header = '---\n'
|
||||
header += `title: "${data.title}"\n`
|
||||
header += `description: ${data.description}\n`
|
||||
header += '---\n'
|
||||
header += `${title}${data.title}</h1>\n`
|
||||
header += `${description}${data.description}</p></div>\n\n`
|
||||
header += `${description}${data.description}</p></div>\n\n${feedback}\n\n`
|
||||
return header
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue