SharePoint Document Issues

Fix HTML Tags Displaying as Text in the SharePoint Markdown Web Part

Maira MehtabMaira Mehtab Nov 22, 2026 868 views

Question details

The user wants to apply formatting such as superscript in a SharePoint Markdown web part without HTML tags appearing as text.

HTML Tags Display as Text in the SharePoint Markdown Web Part
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.
Before you start

Open the SharePoint page and select Edit. In the Markdown web part, check the help pane for the syntax supported by your version.

Solution 1Recommended

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.

1
Open the page editor

On the SharePoint page, select Edit and then select the Markdown web part.

2
Check supported syntax

Open the web part's help pane and review its listed Markdown syntax. Replace HTML tags with supported Markdown where an equivalent is available.

3
Use a superscript character

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.

4
Publish and check

Select Republish or Publish, then view the page to confirm that the text appears as intended.

Replace HTML Tags with Supported Markdown or Superscript Characters
HTML remains unsupported: Replacing tags with Unicode characters is a workaround for certain text, not a way to enable HTML rendering.
Free Microsoft Office alternative

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.

Apply superscript formatting in documents without writing HTML tagsOpen and edit Microsoft Office formats including DOCX, XLSX, and PPTXUse a familiar interface for everyday document editingWork with existing Office files for an easier transition
microsoft office alternative - wps office

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.