Skip to content

Paste markdown as HTML/Rich Text #40202

Description

@bwat47

Description of the new feature / enhancement

The advanced paste module has a great feature where you can copy formatted text and paste as markdown

It would be amazing if it could also go the other way around: convert markdown from clipboard and paste as HTML formatted text

For example:

User copies the following markdown to clipboard:

## Test Heading

Test text **bold text** and *italic text*

Test list:

1. A
2. B
3. C
	- unordered list 1
	- unordered list 2

User then selects "Paste as HTML" from PowerToys and it converts markdown to semantic HTML markup, allowing you to paste with with formatting in apps such as Outlook:

<h2>Test Heading</h2>
<p>Test text <strong>bold text</strong> and <em>italic text</em></p>
<p>Test list:</p>
<ol>
<li><p>A</p>
</li>
<li><p>B</p>
</li>
<li><p>C</p>
<ul>
<li>unordered list 1</li>
<li>unordered list 2</li>

</ul>
</li>

</ol>

Scenario when this would be used?

This would be useful when copying text from markdown based applications to applications that only support HTML/rich text formatting (e.g. Copying markdown formatted text to an Outlook email).

Markdown note takers and editors often lack an adequate "Copy with HTML formatting to clipboard" function, so this could be a very useful feature.

Supporting information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Idea-EnhancementNew feature or request on an existing productNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-Advanced PasteRefers to the Advanced Paste module

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions