Skip to content

Commit dcb049a

Browse files
committed
Added Highlight
1 parent 367ba4b commit dcb049a

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

StageCoderWeb/StageCoderWeb/Pages/VisualStudio.razor

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<PageTitle>StageCoder - Visual Studio</PageTitle>
33
<Article>
44
<h1>Visual Studio</h1>
5+
This extension is a collection of functions that makes your presentation more streamlined and easier to watch.
6+
<h2>Snippets</h2>
57
This extension makes it possible to type out a snippet, character by character, by pressing any button. <br />
68
This is the perfect extension for people showing code on stage, in a classroom, or a workshop.<br />
79
<br /><br />
@@ -19,7 +21,7 @@
1921

2022
The snippets are saved in a " Snippets" folder in the solution folder.<br />
2123

22-
<h2>Commands</h2>
24+
<h3>Commands</h3>
2325
CTRL + TAB + TAB is the default key combination. However, you can remap it in Tools | Options | Keyboard.<br />
2426
In some cases, you need to remap it to make it work.
2527
<br /><br />
@@ -32,7 +34,7 @@
3234
It will enable you to press any button (except TAB) to type one character at a time taken from the snippet.
3335
<br />
3436

35-
<h2>Stream Deck</h2>
37+
<h3>Stream Deck</h3>
3638
While presenting, we can also use a Stream Deck by using the "Visual Studio"-plugin by Nicollas R.<br />
3739
Adding the commands above can trigger the different commands by pressing the Stream Deck button.<br /><br />
3840
To configure the type command, do the following:<br />
@@ -47,7 +49,14 @@
4749

4850

4951
<br /><br /><br />
52+
<h2>Highlighting code</h2>
53+
The second function makes it possible to highlight code by blurring the rest of the code.
54+
This is perfect for focusing on a specific part of the code while presenting.<br /><br />
55+
<img class="demo" src="Highlight.gif" /><br /><br />
56+
Almost everytime I use this function, someone comes up to me and asks what I am using.
5057

51-
</Article>
58+
59+
60+
</Article>
5261

5362

StageCoderWeb/StageCoderWeb/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
using Microsoft.AspNetCore.Builder;
2-
using Microsoft.AspNetCore.Components.Web;
1+
using Microsoft.AspNetCore.Components.Web;
32
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
4-
using Microsoft.AspNetCore.StaticFiles;
53
using StageCoderWeb;
4+
using Microsoft.AspNetCore.StaticFiles;
5+
using Microsoft.AspNetCore.Builder;
66

77
var builder = WebAssemblyHostBuilder.CreateDefault(args);
88
builder.RootComponents.Add<App>("#app");

StageCoderWeb/StageCoderWeb/StageCoderWeb.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.8" />
1818
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.8" PrivateAssets="all" />
1919
<PackageReference Include="Markdig" Version="0.37.0" />
20+
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.3.0" />
2021
</ItemGroup>
2122

2223
<ItemGroup>

0 commit comments

Comments
 (0)