Skip to content

Commit 6991c7a

Browse files
committed
fix: better styles, material export
1 parent 4b6297f commit 6991c7a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

scripts/cem-to-md.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,18 @@ const markdown = customElementsManifestToMarkdown(manifest);
1010

1111
const theme = packageDir.split('/').at(-1);
1212
const name = theme.at(0).toUpperCase() + theme.substring(1);
13+
const edition = theme === 'form' ? 'Barebone' : name;
1314

1415
fs.writeFileSync(
1516
`${packageDir}/README.md`,
16-
`# JSON Schema Form Element — ***${name}*** edition
17+
`# JSON Schema Form Element — ***${edition}*** edition
1718
18-
See the [documentation](../../README.md).
19+
\`\`\`sh
20+
npm install @jsfe/${theme}
21+
\`\`\`
22+
23+
Consult the [documentation](../../README.md).
24+
Open the [playground](https://jsfe.js.org).
1925
2026
---
2127

0 commit comments

Comments
 (0)