次の方法で共有


Add Markdown to a dashboard

TFS 2017 | TFS 2015

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

  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.