Newsletter zu Aktionen
Trage dich ein um keine Aktionen von uns zu verpassen.
Wir senden 1-2 E-Mails pro Quartal.
This lab is a continuation of the How to create Work Breakdown Structure in Azure DevOps.
In this lab, we will leverage Azure Wiki and Markdown to create and manage documentation within Azure Wiki including:
This lab is tailored for professionals who may not have extensive coding knowledge but need to understand and be able to document.
We will try to recreate the Azure Markdown documentation page from Azure DevOps.
This exercise can be skipped if you did the Lab-1-Creating-Roadmaps. As projects has been created there as well.
Open Azure DevOps
https://dev.azure.com/<YourOrg>
and sign in.Create a New Project
New project
.Project name
, enter Azure-Migration
Description
, enter DX has strategically decided to migrate all its workloads within the next two years. Currently, it maintains an on-premises data center with approximately 10,000 servers.
Visibility
, make sure that Private
is selected.Advanced
and set:
Version control
to Git
. (should be selected by default)Work item process
to Agile
(should be selected by default)Create
.Before diving into Markdown syntax, let’s start with a basic task to create a Wiki landing page. Don’t worry if you’re unfamiliar with Markdown. In the next exercises, I’ll guide you step by step through the details of Markdown syntax. For now, just follow these instructions to set up your landing page.
https://dev.azure.com/<YourOrg>/Azure-Migration
Wiki
Create project wiki
to open the editor for the home page.Wiki
(again). As you notice, you can not return to the original selection once clicked.Summary
and then click on Wiki
. As I told you, there is no escape.
Azure-Migration
as title in the input box on top. This will become the name of the page and kinda of the project wiki as well.Save
on the right top. Your screen should looks like thisEdit
# Use Markdown in Azure DevOps In this article, find basic syntax guidance for using Markdown in Azure DevOps features and wiki Markdown. You can use both common Markdown conventions and GitHub-flavored extensions. Use Markdown to add formatting, tables, images, and more to your project pages, README files, dashboards, pull requests, wikis, and so on. <br /> Not all Markdown syntax is supported across all features in Azure DevOps. The following table links to each basic syntax section in this article and highlights which features support it.
Not all Markdown
, only 2 line breaks are added. Chance the code in as follow to have an extra line break.# Use Markdown in Azure DevOps In this article, find basic syntax guidance for using Markdown in Azure DevOps features and wiki Markdown. You can use both common Markdown conventions and GitHub-flavored extensions. Use Markdown to add formatting, tables, images, and more to your project pages, README files, dashboards, pull requests, wikis, and so on. <br /> Not all Markdown syntax is supported across all features in Azure DevOps. The following table links to each basic syntax section in this article and highlights which features support it.
In this exercise, we will further add more basic formatting elements into the page.
*** ## Headings # This is a H1 header ## This is a H2 header ### This is a H3 header #### This is a H4 header ##### This is a H5 header ###### This is a H6 header
*** ## Headings # This is a H1 header ## This is a H2 header ### This is a H3 header <h3 style="color: red">This is a H3 header</h3> #### This is a H4 header ##### This is a H5 header ###### This is a H6 header
Please mind that the editor only shows Header 1
, Header 2
and Header 3
when you click on the first button of the control bar.
#
like a hashtag #hellno
. Add the following line at the end:\#hellno
# Formatting options Use _emphasis_ in comments to express **strong** opinions and point out ~~corrections~~ **_Bold, italicized text_** ***~~Bold, strike-through text~~*** _**~~Bold, strike-through text~~**_
_
or the asterisk *
for italic style. Both are valid, tools like Typora use *
when using hotkeys whereas the editor in the Azure Wiki uses the underscore. Speaking of such, let’s add the following line below Let's continue with a few formatting options like bold, italic, italic and bold by adding the following code
bold
and press Ctrl + B
on the keyboarditalic
and press Ctrl + I
on the keyboardbold and italic
and press Ctrl + B
on the keyboard, then press Ctrl + I
on the keyboard. You should get something like this as the resultLet's continue with a few formatting options like **bold**, _italic_, **_italic and bold_** text by adding the following code
This is so <u>super</u> <ins>important</ins>.
<u>
and <ins>
is under disputed by some source, as html is in the transition to move to a content mark up language like <header>
, <section>
, <cite>
, etc. instead of having tags, that mark styles like <b>
, <i>
, <u>
, etc. So you could go for the recommended approach like<span style="text-decoration: underline;">This is so</span> <u>super</u> <ins>important</ins>.
As for User Experience, the underline is not a good formatting option as it is easy to be confused with hyperlinks.Save
and select Save with revision message
to open the Save page
dialog.
Save
and Close
afterwards.View revisions
.By the end, your page should looks like this:
The code for the entire page:
# Use Markdown in Azure DevOps In this article, find basic syntax guidance for using Markdown in Azure DevOps features and wiki Markdown. You can use both common Markdown conventions and GitHub-flavored extensions. Use Markdown to add formatting, tables, images, and more to your project pages, README files, dashboards, pull requests, wikis, and so on. <br /> Not all Markdown syntax is supported across all features in Azure DevOps. The following table links to each basic syntax section in this article and highlights which features support it. *** ## Headings # This is a H1 header ## This is a H2 header ### This is a H3 header <h3 style="color: red">This is a H3 header</h3> #### This is a H4 header ##### This is a H5 header ###### This is a H6 header \#hellno *** ## Formatting options Use _emphasis_ in comments to express **strong** opinions and point out ~~corrections~~ **_Bold, italicized text_** ***~~Bold, strike-through text~~*** _**~~Bold, strike-through text~~**_ Let's continue with a few formatting options like **bold**, _italic_, **_italic and bold_** text by adding the following code. <span style="text-decoration: underline;">This is so</span> <u>super</u> <ins>important</ins>.
Let’s proceed with adding a few more cool stuff in an sub-page:
add subpage
Working with Blocks
as a title and respective the Header 1 element in the editor. > Single line quote > > > Nested quote > > > > > multiple line multiple line multiple line > > > > > > > quote > > > > > > > > > quote > > > > > > > > > > > Heading > > > > > > ------- > > > > > > > > > > > > **quote** ABC > > > > > > > > > > > > > This is just an ordinary text _quote_ > > > > > > > > > > > > > > > This is just an ordinary text _quote_ > > > > > > > > > > > > > > > > > This is just an ordinary text _quote_ > > > > > > > > > > > > > > > > > > > This is just an ordinary text _quote_
| a | 1 | 1 | | --- | --- | --- | | b | 2 | 2 | | c | 3 | 3 | | d | 4 | 4 |
```typescript interface Disposable { dispose: () => void; } ```
The code block above creates a interface `Disposable` with a method `dispose`.
Einstein said $e=mc^2$ in the past.
**The Cauchy-Schwarz Inequality** $$ \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) $$
| a sdfsdfgdsfg | 1 sdfgsdfgdsfg | 1 sdfgdsfgdsfg | |----------------|-----------------|-------------------| | b italic | 2 asdfasdf | 2 `incr()` | | c e=mc^2 | 3 italic | 3 `counter()` | | d bold | 4 underline | 4 strike-through |
incr()
and counter()
Ctrl + Shift + F
on the keyboard to format the code. | a sdfsdfgdsfg | 1 sdfgsdfgdsfg | 1 sdfgdsfgdsfg | |----------------|--------------------|-----------------------| | b _italic_ | 2 asdfasdf | 2 `incr()` | | c $e=mc^2$ | 3 _italic_ | `counter()` | | d **bold** | 4 <u>underline</u> | 4 ~~strike-through~~ |
Format Tables
.Save
and Close
Your page should looks like this (including the bonus):
The entire code for this page
# Working with Blocks ## Blockquotes > Single line quote >> Nested quote >>> multiple line >>> multiple line >>> multiple line >>>> quote >>>>> quote >>>>>> ## Heading >>>>>> **quote** >>>>>> ABC >>>>>>> This is just an ordinary text _quote_ >>>>>>>> This is just an ordinary text _quote_ >>>>>>>>> This is just an ordinary text _quote_ >>>>>>>>>> This is just an ordinary text _quote_ >|a |1 |1 | >|----|----|----| >|b |2 |2 | >|c |3 |3 | >|d |4 |4 | ## Code ```typescript interface Disposable { dispose: () => void; } ``` The code block above creates a interface `Disposable` with a method `dispose`. ## Math formulas Einstein said $e=mc^2$ in the past. **The Cauchy-Schwarz Inequality** $$ \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) $$ | a sdfsdfgdsfg | 1 sdfgsdfgdsfg | 1 sdfgdsfgdsfg | |----------------|--------------------------|-----------------------| | b _italic_ | 2 asdfasdf<br/>so broken | 2 `incr()` | | c $e=mc^2$ | 3 _italic_ | 3 `counter()` | | d **bold** | 4 <u>underline</u> | 4 ~~strike-through~~ |
Open Points
and add the following code to it- [ ] A - [ ] B - [ ] C - [x] A - [x] B - [x] C
1. First item. - Item 1 - Item 2 - Item 3 1. Second item. - Nested item 1 1. Further nested item 1 2. Further nested item 2 3. Further nested item 3 - Nested item 2 - Nested item 3
<br/>
One of the advantage to use Azure Wiki is its ability to access the information of the Azure DevOps Projects including the option to mention other users and groups, to embed query results, link to work items
Linking
and add the following code to add mention yourself in the page.markdown @<your-name>
<your-name>
with your name as shown in DevOps. You can click on your profile on the right top to checkmarkdown #1
markdown ::: query-table <query-id> :::
Shared Query
.Trage dich ein um keine Aktionen von uns zu verpassen.
Wir senden 1-2 E-Mails pro Quartal.