---
title: "rd_to_qmd"
---

[< Back to Reference](../reference.qmd) | [View source](https://usrbinr.codeberg.page/qrtdown//src/branch/main/R/rd-to-qmd.R#L14)

# `rd_to_qmd()`

Convert Rd files to Quarto Markdown

## Usage

```r
rd_to_qmd(rd_file, output_file = NULL, include_examples = TRUE)
```

## Arguments

| Argument | Description |
|----------|-------------|
| `rd_file` | Path to the .Rd file |
| `output_file` | Optional path for output .qmd file |
| `include_examples` | Whether to include examples section |

## Value

Character string of the qmd content

## Description

Functions for parsing roxygen2-generated .Rd files and converting them
to Quarto-compatible markdown format.
Convert an Rd file to Quarto Markdown

