Fix HTML Tags Displaying as Text in the SharePoint Markdown Web Part
Question details
The user wants to apply formatting such as superscript in a SharePoint Markdown web part without HTML tags appearing as text.

- Product
- SharePoint Markdown web part
- Device & OS
- not provided
- Scenario
- Editing a SharePoint page that uses a Markdown web part.
- Observed behavior
- Inline HTML tags such as <sup> are displayed as plain text instead of rendering the expected formatting.
Open the SharePoint page and select Edit. In the Markdown web part, check the help pane for the syntax supported by your version.
Replace HTML Tags with Supported Markdown or Superscript Characters
Use the web part's supported syntax for available formatting, or use Unicode characters for simple superscripts.
The Markdown web part does not render inline HTML tags. Markdown support in other editors does not guarantee that the same syntax works in SharePoint.
On the SharePoint page, select Edit and then select the Markdown web part.
Open the web part's help pane and review its listed Markdown syntax. Replace HTML tags with supported Markdown where an equivalent is available.
For a simple superscript, replace markup such as <sup>2</sup> with a Unicode character such as ² directly in the Markdown editor. Available superscript characters are limited.
Select Republish or Publish, then view the page to confirm that the text appears as intended.

Request HTML Support for the SharePoint Markdown Web Part
Send feedback to Microsoft if supported Markdown and Unicode characters do not meet your formatting needs.
Create Formatted Documents with WPS Office
WPS Office is a free, lightweight alternative for creating formatted documents in a familiar interface. Its Microsoft Office format support helps you move existing files into your workflow. It does not change how the SharePoint Markdown web part renders HTML.

Frequently Asked Questions
Why does the SharePoint Markdown web part show HTML tags?
The web part does not render inline HTML. Use the Markdown syntax listed in its help pane instead of assuming it supports the same features as other Markdown engines.
How can I add a superscript without an HTML tag?
In the Markdown web part editor, insert a Unicode superscript character such as ² in place of <sup>2</sup>. This works only for characters that have suitable Unicode superscript forms.
Where can I check which Markdown syntax SharePoint supports?
Edit the SharePoint page, select the Markdown web part, and review the syntax listed in its help pane.
Can I ask Microsoft to add HTML support?
Yes. Submit a suggestion through the Microsoft Feedback portal or SharePoint's feedback option, if available, and include an example of the formatting you need.




