Skip to content

Commit e5cc49c

Browse files
committed
Add note,tip,important,warning,caution md extension
1 parent 5c79f2d commit e5cc49c

File tree

15 files changed

+128
-8
lines changed

15 files changed

+128
-8
lines changed

assets/scss/plugins/md-notes.scss

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
$note-color: #1f6feb;
2+
$tip-color: #22a63c;
3+
$important-color: #8957e5;
4+
$warning-color: #d29922;
5+
$caution-color: #f85149;
6+
7+
blockquote.md-note {
8+
9+
.md-note-title {
10+
display: flex;
11+
align-items: center;
12+
font-weight: 600;
13+
margin-top: .25em;
14+
margin-bottom: .75em;
15+
16+
svg {
17+
margin-right: .5em;
18+
}
19+
}
20+
}
21+
22+
.md-note {
23+
&.note {
24+
border-color: $note-color;
25+
}
26+
27+
&.tip {
28+
border-color: $tip-color;
29+
}
30+
31+
&.important {
32+
border-color: $important-color;
33+
}
34+
35+
&.warning {
36+
border-color: $warning-color;
37+
}
38+
39+
&.caution {
40+
border-color: $caution-color;
41+
}
42+
}
43+
44+
.md-note-title {
45+
&.note {
46+
color: $note-color;
47+
}
48+
49+
&.tip {
50+
color: $tip-color;
51+
}
52+
53+
&.important {
54+
color: $important-color;
55+
}
56+
57+
&.warning {
58+
color: $warning-color;
59+
}
60+
61+
&.caution {
62+
color: $caution-color;
63+
}
64+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* Background */ .bg { color: #f8f8f2; background-color: #272822; }
22
/* PreWrapper */ .chroma { color: #f8f8f2; background-color: #272822; }
3-
/* Error */ .chroma .err { color: #960050; background-color: #1e0010 }
3+
/* Error */ .chroma .err { color: #c60000; }
44
/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit }
55
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
66
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }

assets/scss/styles.scss

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
src: url('/fonts/condensed/AsapCondensed-SemiBold.ttf');
1414
}
1515

16-
@import "plugin/discordinvite.scss";
17-
@import "plugin/embed.scss";
18-
@import "plugin/syntax.scss";
16+
@import "plugins/discordinvite.scss";
17+
@import "plugins/embed.scss";
18+
@import "plugins/syntax.scss";
19+
@import "plugins/md-notes.scss";
1920

2021
$bg-color: #2e2e2e;
2122
$lightGray: #7B7B7B;
@@ -325,6 +326,17 @@ section {
325326
letter-spacing: 0.06em;
326327
}
327328
}
329+
330+
blockquote {
331+
border-left: .25em solid white;
332+
padding: .25em 0;
333+
padding-left: 1em;
334+
margin-bottom: 1em;
335+
336+
p, ul, ol {
337+
margin-bottom: 10px;
338+
}
339+
}
328340
}
329341
}
330342

content/downloads/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ description: "Download page for all sorts of mods"
44
weight: 02000000
55
---
66

7-
## Important!
8-
7+
{{% important %}}
98
* Our mods are most of the times still in development
109
* They may be more incompatible with other mods, since this was not our focus when creating them
1110
* We went to great effort to add nothing that is impossible to do in vanilla, but due to the nature of *some* modloaders, things may not be 100% vanilla.
1211
**So remember: Even if the mod allows your actions like spawn manipulation, it doesn't mean that it is strictly allowed in TASing**
12+
{{% /important %}}

content/downloads/non-playback/lotas-light.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ prev: false
1111

1212
A very slimmed down version of [LoTAS](/downloads/non-playback/lotas), in an attempt to make it easily upgradable to newer versions.
1313

14+
{{% note %}}
1415
Needs Fabric API
16+
{{% /note %}}
1517

1618
## Features
1719
- Tickratechanger

content/downloads/non-playback/lotas.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ weight: 02010100
77
next: false
88
prev: false
99
---
10+
{{% important %}}
11+
LoTAS will not receive any updates for the forseeable future, while we focus on developing [TASmod](/downloads/playback/tasmod)
1012

13+
If you want to TAS in newer versions, check [LoTAS-Light](/downloads/non-playback/lotas-light)
14+
{{% /important %}}
1115
A non-playback mod for versions 1.8.9-1.20.1
1216

1317
## Features

content/downloads/playback/tasmod.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@ This mod can record and play back
6565
Record TASes with friends! Needs operator permissions to run tasmod related commands.
6666
/savestate can be used to manage savestates.
6767

68-
> [!Note]
69-
> /fullrecord, /fullplay and /restartandplay are not guaranteed to work in multiplayer at this time.
68+
{{<note>}}
69+
/fullrecord, /fullplay and /restartandplay are not guaranteed to work in multiplayer at this time.
70+
{{</note>}}
7071

7172
## HUD
7273
When ingame, hitting <kbd>F6</kbd> will show you options for customising your HUD, with monitoring options and more. Even more options are available when KillTheRNG is installed.

content/tutorials/tools.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@ Other than that, the steps are alsmost the same as vanilla duping:
7878
4. An item should spawn *in your inventory*
7979

8080
### (New!) LoTAS-Light duping 1.20.5+ {#LoTAS-Light-1.20.5}
81+
{{% note %}}
8182
If you use LoTAS-Light, you are using the newest iteration of the duplication function.
8283
Over time, we found a few issues that make LoTAS Duping not entirely vanilla.
84+
{{% /note %}}
8385

8486
1. Open the pause menu (which triggers an auto-save)
8587
2. Throw item(s) on the ground

0 commit comments

Comments
 (0)