From 71d95b5e838a3f0dacd30a568a6625b363126c46 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Wed, 20 Dec 2023 00:44:39 +0000 Subject: [PATCH] reference: add some more alerts in key places --- .docs/css/theme.css | 11 ++++------- Chat-Command-Reference.md | 9 ++++++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.docs/css/theme.css b/.docs/css/theme.css index f66ee57..304912e 100644 --- a/.docs/css/theme.css +++ b/.docs/css/theme.css @@ -442,13 +442,8 @@ footer { border: 0.2em solid var(--cat-colour); } -.note, .tip, .important, .warning, .caution -.markdown-alert-note, -.markdown-alert-tip, -.markdown-alert-important, -.markdown-alert-warning, -.markdown-alert-caution -{ +.note, .tip, .important, .warning, .caution, +.markdown-alert { padding: 0.4em 0.6em; border-radius: 0 0.2em 0.2em 0; } @@ -487,6 +482,8 @@ footer { /* markdown-it-alert-title. We *should* use their provided styles really.... but meh */ .markdown-alert-title { display: none; } + + .contributor-list { list-style-type: none; margin: 0; diff --git a/Chat-Command-Reference.md b/Chat-Command-Reference.md index 065e7f3..fc66d35 100644 --- a/Chat-Command-Reference.md +++ b/Chat-Command-Reference.md @@ -381,7 +381,8 @@ Scale Factor | Meaning In short, you can specify the scale factor directly, as a percentage, or as 1 number divided by another number. -**Note:** `//scale` always scales in the _positive direction_ by default. This can be changed however - see below. +> [!NOTE] +> `//scale` always scales in the _positive direction_ by default. This can be changed however - see below. With this in mind, there are 3 forms that you can tell `//scale` how you want to scale the defined region: @@ -948,7 +949,8 @@ Since WorldEditAdditions v1.13, a list of node names is also optionally supporte ### `//count` Counts all the nodes in the defined region and returns the result along with calculated percentages (note that if the chat window used a monospace font, the returned result would be a perfect table. If someone has a ~~hack~~ solution to make the columns line up neatly, please [open an issue](https://github.com/sbrl/Minetest-WorldEditAdditions/issues/new) :D) -**Note:** The output of `//count` can be rather long sometimes, and Minetest by default only shows the last few lines of chat. Press F10 to show the full chat window that you can then scroll through to inspect the full output. +> [!NOTE] +> The output of `//count` can be rather long sometimes, and Minetest by default only shows the last few lines of chat. Press F10 to show the full chat window that you can then scroll through to inspect the full output. ```weacmd //count @@ -1321,7 +1323,8 @@ Note also that `` should _not_ be prefixed with _any_ forward slashes While other server commands can be executed while a `//subdivide` is running, `//subdivide` manipulates your player's defined region when running. This has the side-effect that you can check on where it has got up to with `//p get` for example - but means that attempting to change your pos1 & pos2 manually will have no effect until the `//subdivide` completes. -**Warning:** Once started, this command cannot be stopped without restarting your server! This is the case with all WorldEdit commands, but it's worth a special mention here. +> [!WARNING] +> Once started, this command cannot be stopped without restarting your server! This is the case with all WorldEdit commands, but it's worth a special mention here. ```weacmd //subdivide 10 10 10 set dirt