Documentation

Getting Started

Welcome to the MD/HTML to PDF Converter documentation. This guide will help you understand how to use our tool effectively.

Converting Markdown

To convert Markdown to PDF:

  1. Navigate to the MD to PDF conversion page
  2. Paste your Markdown content into the text area
  3. Adjust the paper size, margins, and background color as needed
  4. Click the Convert button
  5. Download your PDF

Converting HTML

To convert HTML to PDF:

  1. Navigate to the HTML to PDF conversion page
  2. Paste your HTML content into the text area
  3. Adjust the paper size, margins, and background color as needed
  4. Click the Convert button
  5. Download your PDF

Customizing Your PDF

Our tool offers several customization options:

  • Paper Size: Choose from predefined sizes (A4, 80mm, 58mm) or set a custom size
  • Margins: Adjust top, right, bottom, and left margins independently
  • Background Color: Set any color as the background for your PDF

Tips for Best Results

  • Ensure your Markdown or HTML is well-formatted
  • Use the preview feature to check your layout before converting
  • For thermal printer sizes (80mm, 58mm), keep your content simple and concise
  • Test different margin settings to find the best fit for your content