Skip to content

Commit d1d543a

Browse files
authored
Merge pull request #103705 from tfitzmac/0207deploy
add markdown example
2 parents 48a5f77 + 69ec348 commit d1d543a

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

articles/azure-resource-manager/templates/deploy-to-azure-button.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Deploy to Azure button
33
description: Use button to deploy Azure Resource Manager templates from a GitHub repository.
44
ms.topic: conceptual
5-
ms.date: 02/05/2020
5+
ms.date: 02/07/2020
66
---
77
# Use a deployment button to deploy templates from GitHub repository
88

@@ -56,7 +56,15 @@ You have your full URL for the link.
5656

5757
## Create Deploy to Azure button
5858

59-
Finally, put the link and image together. You can add this HTML to either the README.md file in your GitHub repository or a web page.
59+
Finally, put the link and image together.
60+
61+
To add the button with Markdown in the README.md file in your GitHub repository or a web page, use:
62+
63+
```markdown
64+
[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-storage-account-create%2Fazuredeploy.json)
65+
```
66+
67+
For HTML, use:
6068

6169
```html
6270
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-storage-account-create%2Fazuredeploy.json" target="_blank">
@@ -67,10 +75,8 @@ Finally, put the link and image together. You can add this HTML to either the RE
6775
## Deploy the template
6876

6977
To test the full solution, select the following button:
70-
<br><br>
71-
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-storage-account-create%2Fazuredeploy.json" target="_blank">
72-
<img src="https://aka.ms/deploytoazurebutton"/>
73-
</a>
78+
79+
[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-storage-account-create%2Fazuredeploy.json)
7480

7581
The portal displays a pane that allows you to easily provide parameter values. The parameters are pre-filled with the default values from the template.
7682

0 commit comments

Comments
 (0)