📤 Export Guide NEW FEATURES!
✨ NEW: Export to Word with Images!
MarkStudio Pro now includes full image support when exporting to Word documents (.docx). Your images will appear exactly where you placed them in your markdown document, with proper formatting and sizing.
This works with:
- ✅ Markdown image syntax:
 - ✅ HTML image tags:
<img src="image.png"> - ✅ Both relative and absolute file paths
- ✅ Images embedded in tables, lists, and paragraphs
📹 Watch: Export to Word Demo
See how to export your markdown documents to Word with perfect formatting preservation.
Export Formats
How to Export
Using the Toolbar
- Open your markdown document in MarkStudio Pro
- Click one of the export buttons in the toolbar (HTML, PDF, or Word)
- Select save location and filename
- Click Save
Keyboard Shortcuts (Fastest Method!)
Ctrl+Shift+H- Export as HTMLCtrl+Shift+P- Export as PDFCtrl+Shift+W- Export as Word (.docx)
These shortcuts immediately open the save dialog for the chosen format - no extra clicks needed!
Working with Images
Adding Images to Your Document
There are two ways to add images that will export correctly:
# Method 1: Markdown syntax

# Method 2: HTML tags
<img src="images/photo.jpg" alt="A beautiful photo">
images/photo.png) rather than absolute paths for better portability. Store your images in the same folder as your markdown file or in a subfolder.
Image Path Resolution
MarkStudio Pro intelligently resolves image paths:
- Relative paths:
image.pngor./images/photo.jpg- Resolved relative to your markdown file location - Absolute paths:
C:\Users\You\Pictures\photo.png- Used as-is - Subfolder paths:
assets/diagrams/flow.png- Resolved from markdown file directory
Image Sizing in Word Export
By default, images are exported at 4 inches wide in Word documents. They maintain their aspect ratio automatically.
<img src="photo.jpg" width="600">
Export Limitations
The free trial version includes 3 exports per format:
- 3 PDF exports
- 3 Word (.docx) exports
- 3 HTML exports
Purchase the full version from the Microsoft Store for unlimited exports in all formats.
Exporting Tables
Tables export beautifully to all formats. Here's an example:
| Product | Price | Stock |
|--------------|-------|-------|
| Laptop | $999 | 15 |
| Mouse | $29 | 50 |
| Keyboard | $79 | 32 |
Math Equations Export
LaTeX math equations export perfectly to PDF and Word with high-quality rendering:
Inline math: $E = mc^2$
Display math:
$$
\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}
$$
The equations will render beautifully in all export formats.
Code Blocks Export
Syntax-highlighted code blocks export with proper formatting:
```python
def fibonacci(n):
if n <= 1:
return n
return fibonacci(n-1) + fibonacci(n-2)
```
- PDF: Full syntax highlighting preserved
- Word: Monospace font with background color
- HTML: Complete syntax highlighting with CSS
Troubleshooting
Images Not Appearing in Export
- Wrong path: Make sure the image path is correct relative to your markdown file
- File doesn't exist: Verify the image file exists at the specified location
- Base64 images: Data URLs (
data:image/png;base64,...) are not supported in Word export - Remote images: Online images (http/https URLs) are not embedded in Word export
Large Documents Performance
For documents with 50+ images or 100+ code blocks:
- Export may take 10-30 seconds - this is normal
- A progress indicator will show during export
- The app remains responsive during export
Word Document Formatting
If your exported Word document formatting looks different:
- MarkStudio Pro uses clean, standard Word styles
- You can modify the document in Word after export
- Heading levels (H1-H6) map directly to Word heading styles
Best Practices
-
Organize your images: Keep images in a subfolder (e.g.,
images/orassets/) next to your markdown file - Use relative paths: This makes your documents portable across different computers
- Test your export: Before creating a large document, export a small test to verify your images appear correctly
- Optimize image sizes: Large images (>5MB) can slow down export. Resize them before adding to your document
- Save before exporting: Always save your document before exporting to ensure all changes are included
Ctrl+Shift+W to instantly export to Word with images, or Ctrl+Shift+P for PDF. These shortcuts skip the format selection dialog and go straight to the save location.