This article explains how to run GroupDocs.Markdown for Java on Linux. The library is pure Java with no native dependencies, so the JAR that runs on Windows runs unchanged on Linux — but two server-specific details are worth getting right: headless mode and fonts.
Servers usually have no display. Document rendering touches AWT, so run the JVM in headless mode to avoid HeadlessException:
java -Djava.awt.headless=true -jar target/app.jar
You can also set it in code before any conversion runs:
System.setProperty("java.awt.headless","true");
Install Fonts
Minimal Linux images ship with no fonts at all. Without them, text in converted images and in documents that rely on specific typefaces falls back to a default, which changes the output. Install a base font set: