📝(component): 优化文档

This commit is contained in:
就眠儀式
2022-10-28 16:02:12 +08:00
parent 21a34143a3
commit 4536f48099
5 changed files with 25 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ export default function createContainer(klass: string): ContainerArgs {
const token = tokens[idx];
const info = token.info.trim().slice(klass.length).trim();
if (token.nesting === 1) {
return `<p style="padding-left: 30px;padding-top: 20px;padding-bottom: 20px;">${info}`;
return `<p class="describe-plugin">${info}`;
} else {
return "</p>\n";
}