GitHub repository: sandrointrtl/mkdocs-pdf-with-js-plugin
Description: A MkDocs plugin that exports your documentation as PDF with rendered JavaScript content.