This is a JavaScript module that converts GitHub Form Schema into HTML
# install with npm!
npm install github-formschema-converter
# install with yarn!
yarn install github-formschema-converter
import * as formSchema from 'github-formschema-converter';
const yamlString = `
---
name: '📕 Documentation Issue'
description: Report an issue in the Developer Guide
title: '📕 [DOCS] - <title>'
labels: [documentation]
assignees: []
body:
- type: textarea
id: description
attributes:
label: 'Describe'
description: A clear and concise description of the issue.
validations:
required: true
- type: input
id: links
attributes:
label: 'Links'
description: Include links to affected documentation page.
validations:
required: true
`;
const result = formSchema.yaml2html(yamlString);
We always welcome your contributions. Please see the CONTRIBUTING.md for how to contribute.
GitHub-FormSchema-Converter is released under Apache License 2.0.
See the LICENSE file for details.