Add Markdown to a dashboard

Azure DevOps Services | Azure DevOps Server 2022 - 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:
Screenshot of a 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, be a member of the team, a member of the Project Adminstrators group, or have dashboard permissions granted to you.
  • To add, edit, or manage a project dashboard, you must have Basic access or have dashboard permissions granted to you for the select project dashboard.
  • 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, be a member of the team, a member of the Project Adminstrators group, or have dashboard permissions granted to you. Team members added to the team administrator role can manage permissions for the team.
  • To add, edit, or manage a project dashboard, you must have Basic access or have dashboard permissions granted to you for the select project dashboard.
  • For Analytics widgets to work within a dashboard, you must have Analytics enabled.
  • 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, be added to the team administrator role, be a member of the Project Adminstrators group, or have dashboard permissions granted to you. Team administrators can manage permissions for the team.

Note

Data displayed within a chart or widget is subject to permissions granted to the signed in user. For example, if a user doesn't have permissions to view work items under an area path, then those items won't display in a query results widget in a dashboard. 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.

Screenshot of 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.

Screenshot of Web portal, Open Dashboards, TFS 2018.

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.

    Screenshot of 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.

    Screenshot of Markdown widget configuration dialog, change 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

    Screenshot for Configure markdown, text entry.

    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:

    Screenshot of 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.

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

  2. Select 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. This restriction has been implemented for security purposes.

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

    Screenshot of Configuration dialog for Markdown widget with a repo file selected.
  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.