Docsy Code Snippets
Useful bits of code and data to format docsy pages
Categories:
2 minute read
Pages
Document Section (_index.md)
menu.main
puts in in the header of the site
---
title: "Design Patterns"
linkTitle: "Design Patterns"
menu:
main:
weight: 15
type: docs
---
Document page header
title: "Azure Bastion"
linkTitle: "Azure Bastion"
type: docs
description: >
This pattern will demonstrate a simple VNet configuration with an Azure Bastion as the only way to access a Linux VM.
categories: ["pattern"]
tags: ["azure", "network", "terraform"]
Blog page header
---
title: "How this site was built"
linkTitle: "How this site works"
description: >
I wanted to document how this site was built as it's interesting to me, it includes some web knowledge, Terraform IaC, Azure PaaS services, DNS and custom domains, GitHub and Actions.
author: Neil Grinnall
date: 2023-03-25
---
Images and Links
Images
<figure>
<img src="/images/screenshots/patterns/azure-bastion-00.png" alt="Alt Text" style="max-width: 100%; height: auto;">
<figcaption><em>The topology of the Azure Bastion</em></figcaption>
</figure>
Link to external site
<a href="https://learn.microsoft.com/en-us/azure/bastion/" target="_blank">Azure
Bastion documentation</a>
Formatting
Tabbed code
this is some code …
this is some code
...
this is some code …
Table
| What | Follows |
|-----------|-----------------|
| A table | A header |
| A table | A header |
| A table | A header |
Horizontal line
---
Highlighted text
This is an alert.
Note
This is an alert with a title.This is a successful alert.
This is a warning.
Warning
This is a warning with a title.References
Feedback
Was this page helpful?
Glad to hear it!
Sorry to hear that.