actions-marketplace-validations/MD <-> PDF Spec Generator
Convert markdown files into PDF and generate specification document via GitHub Actions.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| accessToken | Secret GitHub API token | yes | ${{ github.token }} |
| repository | Name of repository | yes | ${{ github.repository }} |
| branchRef | Branch to use workflow from | yes | ${{ github.event.ref }} |
| specDir | Directory where all the Markdown files are located | yes | . |
| outputDir | PDF file directory | yes | . |
| outputFilename | PDF filename | yes | spec.pdf |
| chapterContentsFilename | Chapter contents filename | yes | _contents.md |
| chapterIndexFilename | Chapter index filename | yes | _index.md |
| tocSectionStart | String to identify the start line of toc section | yes | START toc |
| tocSectionEnd | String to identify the end line of toc section | yes | END toc |
| revisionHistorySectionStart | String to identify the start line of revision history section | yes | START revision history |
| revisionHistorySectionEnd | String to identify the end line of revision history section | yes | END revision history |
| revisionCommitRegExp | Regular expression to identify revision commits | yes | ^revision\((?<revision_number>.*)\):((?<revision_notes>.*))$ |
| headerFilePath | Path to header html file | yes | "" |
| footerFilePath | Path to footer html file | yes | "" |
Outputs
| name | description |
|---|---|
| pdfPath | File path to generated PDF |