Compile Markdown-it with Node.js From PHP

I want to convert markdown to HTML using markdown-it. But I have a Apache server and my server-side language is PHP. Can I give the markdown to Node.js with PHP, compile it there, and get the response in php?

Something like, idk:

$MarkdownContent = "# Hello";
$HtmlContent = nodejs->compile("markdown-it", $MarkdownContent);