andrerocco/Markdown to PDF

Convert Markdown documents and CSS into ready-to-share HTML and PDF files.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
filesNewline-separated glob patterns that match Markdown files to render.no**/*.md
excludeNewline-separated glob patterns to exclude from the search.no
output_dirDirectory (relative to the workspace) where rendered files will be written.nooutput
chrome_pathAbsolute path to the Chrome/Chromium executable. Auto-detected when omitted.no
global_cssNewline-separated glob patterns for CSS files that should be included with every document.no
generate_htmlSet to 'false' to skip writing HTML files and only emit PDFs.nofalse
fail_on_missing_cssFail if no CSS files are found for a Markdown file (defaults to warning only).nofalse
disable_sandboxDisable Chrome sandbox (recommended on Linux runners).no
upload_artifactUpload the generated files as a workflow artifact.notrue
pdf_timeout_msMilliseconds to wait for Chrome to finish generating a PDF before timing out.no20000
extra_html_headRaw HTML injected into the <head> of each generated document.no
artifact_nameName of the artifact to upload.noMarkdown_PDFs_Converted
namedescription
countNumber of Markdown files that were rendered.
output_dirRelative path to the directory containing generated files.
filesJSON array describing each rendered file (markdown, pdf, html, css).