Add Markdown to a dashboard

Azure DevOps Services | Azure DevOps Server 2022 | Azure DevOps Server 2020 | Azure DevOps Server 2019 | TFS 2018

Use the Markdown widget to support your team and stakeholders by adding information such as:

  • Team goals.
  • Links to:
    • Team backlogs or boards.
    • Metrics.
    • Other items located in a network share such as a OneNote, SharePoint site, or wiki pages.
  • Important dates or target deadlines.

Here's an example:
Web portal, Sample Markdown widget

Prerequisites

  • You must be a member of a project. If you don't have a project yet, create one.
  • If you haven't been added as a project member, get added now.
  • Anyone with access to a project, including stakeholders, can view dashboards.
  • To add, edit, or manage a team dashboard, you must have Basic access or greater and be a team admin, a project admin, or have dashboard permissions. In general, you need to be a team member for the currently selected team to edit dashboards.
  • You must be a member of a project. If you don't have a project yet, create one.
  • If you haven't been added as a project member, get added now.
  • Install or enable the Analytics Marketplace extension. Analytics widgets aren't available if Analytics isn't installed, enabled, or running.
  • Anyone with access to a project, including stakeholders, can view dashboards.
  • To add, edit, or manage a team dashboard, you must have Basic access or greater and be a team admin, a project admin, or have dashboard permissions. In general, you need to be a team admin for the currently selected team to edit dashboards. Request your current team or project admin to add you as a team admin.
  • You must be a member of a project. If you don't have a project yet, create one.
  • If you haven't been added as a project member, get added now.
  • Anyone with access to a project, including stakeholders, can view dashboards.
  • To add, edit, or manage a team dashboard, you must have Basic access or greater and be a team admin, a project admin, or have dashboard permissions. In general, you need to be a team admin for the currently selected team to edit dashboards. Request your current team or project admin to add you as a team admin.

Note

Data displayed within a chart or widget is subject to permissions granted to the signed in user. To learn more, see FAQs on Azure DevOps dashboards, charts, and reports, Access and permissions.

Supported Markdown syntax

The Markdown widget supports CommonMark standard features, such as:

  • Headings
  • Paragraphs and line breaks
  • Blockquotes
  • Horizontal rule
  • Emphasis (bold, italics, strikethrough)
  • Tables
  • Lists, both ordered and unordered
  • Links
  • Images
  • Escaping characters

For details on usage, see Syntax guidance for basic Markdown usage.

For performance reasons, the Markdown widget doesn't add support for many extended features, many of which are supported in the wiki. Extended capabilities would impede widget load time. For example, the following extended Markdown features aren't supported in the Markdown widget:

  • Embedded HTML syntax
  • Code highlighting (wiki/others support language-syntax aware color coding, CommonMark just renders code as plain preformatted text)
  • Checklists
  • Emoji characters
  • Attachments
  • Math formulas

Connect to your project

To add the Markdown widget to a dashboard, you connect to your project using a supported web browser.

Open a web browser, connect to your project, and select Overview>Dashboards.

Web portal, open Dashboards

If you need to switch to a different project, select the Azure DevOps logo to browse all projects.

Open a web browser, connect to your project, and select Dashboards.

Open Dashboards

If you need to switch to a different project, select the Azure DevOps logo to browse all projects and teams.

Add the Markdown widget

If you need to add a dashboard, see Add, rename, and delete dashboards.

To add the Markdown widget to the dashboard, select Edit. The widget catalog will automatically open.

  1. Add or drag the Markdown widget onto the dashboard where you want it located.

    Markdown widget
  2. Select Done Editing to exit dashboard editing. This will dismiss the widget catalog. You can then configure the Markdown widget as needed.

  3. Select the gear icon gear icon to open the configuration dialog for the widget.

    To edit a Markdown widget, you may need to be a team admin, a member of the Project Administrators group, or be granted permissions. To learn more, see Set dashboard permissions.

  4. Adjust the widget size as needed to fit the contents of the Markdown you'll enter. The largest size is 10 tiles wide by 10 tiles tall. You can always adjust this later.

    Change Markdown widget size
  5. Enter the text and Markdown syntax into the configuration the configuration dialog. For supported syntax, see Syntax guidance for Markdown files, widgets, wikis, and pull request comments.

    Here we show some simple text with a bulleted list of four links

    Configure markdown

    Tip

    To link to a wiki page,use the following syntax:
    /ProjectName/_wiki/wikis/WikiRepositoryName?pagePath=/FileName

    To link to a repository file, page, or image within the project, rich-click the file and use the full URL.

    This renders the following widget:

    Web portal, Sample Markdown widget

    Note

    Links to documents on file shares using file:// are not supported. This restriction has been implemented for security purposes.

  6. Optionally, you can select to point to a file in your repository.

    Configure Markdown widget with a repo file
  1. Select Edit dashboard icon to modify a dashboard.

  2. Select add a widget icon to open the widget catalog.

  3. Drag the Markdown widget onto the dashboard where you want it located.

    Markdown widget
  4. Select the gear icon gear icon to open the configuration dialog for the widget.

    To edit a Markdown widget, you may need to be a team admin, a member of the Project Administrators group, or be granted permissions. To learn more, see Set dashboard permissions.

  5. Adjust the widget size as needed to fit the contents of the Markdown you'll enter. The largest size is 10 tiles wide by 10 tiles tall. You can always adjust this later.

    Change Markdown widget size
  6. Enter the text and Markdown syntax into the configuration the configuration dialog. For supported syntax, see Syntax guidance for Markdown files, widgets, wikis, and pull request comments.

    Here we show some simple text with a bulleted list of four links

    Configure Markdown

    To link to a wiki page, repository file, or page within the project, use this format:

    /DefaultCollection/Fabrikam%20Fiber/Voice/_wiki?pagePath=%2FHome /DefaultCollection/Fabrikam%20Fiber/Voice/_git/Fabrikam%20Fiber?path=%2FREADME.md /DefaultCollection/Fabrikam%20Fiber/Voice/_backlogs?level=Backlog%20items&showParents=false&_a=backlog

    This renders the following widget:

    Web portal, Sample Markdown widget

    Note

    Links to documents on file shares using file:// are not supported on TFS 2017.1 and later versions. This restriction has been implemented for security purposes.

  7. Optionally, you can select to point to a file in your repository.

    Configure Markdown widget with a repo file
  8. If you haven't closed the widget catalog yet, do that now.

  9. If you want to reposition the Markdown widget or other widgets on the dashboard, do that now while you're still in dashboard edit mode.

  10. When you're finished with your changes, select Exit edit-dashboard-mode icon to exit dashboard editing.