Skip to content

Feature request: Support exporting documents via Pandoc #822

@Felictycf

Description

@Felictycf

Summary

It would be useful for VMark to support exporting Markdown documents through Pandoc.

Motivation

VMark is positioned as an AI-friendly Markdown editor. Many users who write long-form documents in Markdown eventually need to publish or submit them in other formats, such as DOCX, PDF, HTML, EPUB, LaTeX, or presentation formats. Pandoc is a widely used document conversion tool and would make VMark more practical for academic writing, technical documentation, reports, and publishing workflows.

Proposed behavior

Add an export option that can invoke Pandoc for the current document, with support for common output formats such as:

  • DOCX
  • PDF
  • HTML
  • EPUB
  • LaTeX

Ideally, the export flow could allow users to configure options such as:

  • Output format
  • Output file path
  • Custom Pandoc arguments
  • Template/reference document selection, for example a DOCX reference file or LaTeX template
  • Bibliography and CSL style files, if applicable

Possible implementation notes

A first version could simply detect whether pandoc is installed locally and expose a basic export command. More advanced settings could be added later through project-level or user-level configuration.

Benefit

This would let users keep VMark as their primary Markdown writing environment while still producing polished documents for downstream workflows that require formats other than Markdown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions