Skip to content

Latest commit

 

History

History
64 lines (45 loc) · 1.55 KB

examples.md

File metadata and controls

64 lines (45 loc) · 1.55 KB
uid title
examples
Example markdown

These are example markdown items

Note

This is a note

Warning

This is a warning

Tip

This is a tip

Sectioned code

[!div class="tabbedCodeSnippets" data-resources="OutlookServices.Calendar"]

<cs code text>
<js code text>

Tabs

dotnet new webapi -n WebApplication1
cd WebApplication1

|![vs-new-proj] Choose ASP.NET Core Web Application from the default templates. |![vs-name-proj] The default project name WebApplication1 will be used throughout, but you can rename.|![vs-create-proj] Choose an application type of API, everything else can keep its default value.| |:--|


Embed a video

[!Video https://www.youtube.com/embed/qftu_ku8jmM]

Code Snippets

Using the example-program.cs file in the same folder as this markdown...

Show the entire file as formatted code: [!code-csharp

]

Show only line 15 of the file: [!code-csharp

]

Show like lines 9 thru 17: [!code-csharp

]

Show a combination of single lines and a range of lines: [!code-csharp

]

Highlight certain lines of code: [!code-csharp

]

Given the #region in the csharp, only show that snippet: [!code-csharp

]