I wrote a tool called pageproof (available on npm). It uses pandoc to convert markdown to html, and it applies styles. On top of that, it's a live preview so it updates as you ask the agent to edit the markdown; and the accompanying skill makes it easy for the agent to edit the style, e.g. "Please show it doublespaced with the headings in red, and then save this as the default style".