TASK_MARKDOWN_TO_DOC converts markdown text from your Google Sheets into a properly formatted Google Doc. This saves you significant time by automatically transforming plain markdown into a professionally formatted document with proper hierarchy and styles.
=TASK_MARKDOWN_TO_DOC(filename, markdown, [cell])
Parameter | Data Type | Required | Description |
---|---|---|---|
filename |
|
Required | The name for your new Google Doc (e.g., "Project Proposal"). |
markdown |
|
Required | The markdown content to convert, typically a cell reference (e.g., A3). |
cell |
|
Optional | The cell where the hyperlink to the new document will be placed. Default is the cell to the right. |
By default, the hyperlink to your new Google Doc appears in the cell immediately to the right of your formula. To specify a different cell address for the hyperlink, include the optional third parameter:
=TASK_MARKDOWN_TO_DOC(filename, markdown, "D5")
This places the hyperlink in cell D5 instead of the default location.
The function automatically organizes your documents by:
This example converts meeting notes written in markdown in cell B2 into a Google Doc titled "Team Meeting Notes".
=TASK_MARKDOWN_TO_DOC("Team Meeting Notes", B2)
Where B2 contains:
# Team Meeting - July 24
## Attendees
- Sarah Johnson
- Michael Chen
- Priya Patel
## Agenda Items
1. Project timeline update
2. Budget review
3. New client onboarding
## Action Items
- **Sarah**: Update project schedule by Friday
- **Michael**: Review budget projections
- **Priya**: Prepare onboarding materials
This example converts detailed product specifications formatted in markdown from cell A5 into a Google Doc titled "Product Requirements".
=TASK_MARKDOWN_TO_DOC("Product Requirements", A5)
This example creates a document titled "Weekly Report" using the markdown content from cell C7 and places the hyperlink in cell F12.
=TASK_MARKDOWN_TO_DOC("Weekly Report", C7, "F12")
All documents are stored in a "docs" folder inside a "sheetworkflows" folder located in the root of your Google Drive.
Not directly. Combine the markdown content into a single cell first, then reference that cell in the function.
The function supports standard markdown elements, including headers, lists, bold/italic text, links, and code blocks.
Yes, the generated document is a standard Google Doc that can be edited like any other.
No, each execution of the function creates a new document. To update an existing document, run the function again.
Yes, you can share the generated Google Doc using standard Google Drive sharing procedures.
5 months ago
1 month ago
1 month ago