Create colour codes docs. Create empty prompt.hjson doc page pending it being written.
This commit is contained in:
parent
889170caf1
commit
409423c6bd
|
@ -16,13 +16,15 @@
|
||||||
- [Editing hjson]({{ site.baseurl }}{% link configuration/editing-hjson.md %})
|
- [Editing hjson]({{ site.baseurl }}{% link configuration/editing-hjson.md %})
|
||||||
- [config.hjson]({{ site.baseurl }}{% link configuration/config-hjson.md %})
|
- [config.hjson]({{ site.baseurl }}{% link configuration/config-hjson.md %})
|
||||||
- [menu.hjson]({{ site.baseurl }}{% link configuration/menu-hjson.md %})
|
- [menu.hjson]({{ site.baseurl }}{% link configuration/menu-hjson.md %})
|
||||||
- prompt.hjson
|
- [prompt.hjson]({{ site.baseurl }}{% link configuration/prompt-hjson.md %})
|
||||||
- [Directory Structure]({{ site.baseurl }}{% link configuration/directory-structure.md %})
|
- [Directory Structure]({{ site.baseurl }}{% link configuration/directory-structure.md %})
|
||||||
- [Archivers]({{ site.baseurl }}{% link configuration/archivers.md %})
|
- [Archivers]({{ site.baseurl }}{% link configuration/archivers.md %})
|
||||||
- [File Transfer Protocols]({{ site.baseurl }}{% link configuration/file-transfer-protocols.md %})
|
- [File Transfer Protocols]({{ site.baseurl }}{% link configuration/file-transfer-protocols.md %})
|
||||||
- [Email]({{ site.baseurl }}{% link configuration/email.md %})
|
- [Email]({{ site.baseurl }}{% link configuration/email.md %})
|
||||||
|
- [Colour Codes]({{ site.baseurl }}{% link configuration/colour-codes.md %})
|
||||||
- Scheduled jobs
|
- Scheduled jobs
|
||||||
|
|
||||||
|
|
||||||
- File Base
|
- File Base
|
||||||
- [About]({{ site.baseurl }}{% link filebase/index.md %})
|
- [About]({{ site.baseurl }}{% link filebase/index.md %})
|
||||||
- [Configuring a File Area]({{ site.baseurl }}{% link filebase/first-file-area.md %})
|
- [Configuring a File Area]({{ site.baseurl }}{% link filebase/first-file-area.md %})
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
|
@ -0,0 +1,25 @@
|
||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: Colour Codes
|
||||||
|
---
|
||||||
|
ENiGMA½ supports Renegade-style pipe colour codes for formatting strings. You'll see them used in [`config.hjson`](config-hjson),
|
||||||
|
[`prompt.hjson`](prompt-hjson), [`menu.hjson`](menu-hjson), and can also be used in places like the oneliner, rumour mod,
|
||||||
|
full screen editor etc.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
When ENiGMA½ encounters colour codes in strings, they'll be processed in order and combined where possible.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
`|15|17Example` - white text on a blue background
|
||||||
|
|
||||||
|
`|10|23Example` - light green text on a light grey background
|
||||||
|
|
||||||
|
|
||||||
|
## Colour Code Reference
|
||||||
|
|
||||||
|
:warning: Colour codes |24 to |31 are considered "blinking" or "iCE" colour codes. On terminals that support them they'll
|
||||||
|
be shown as the correct colours - for terminals that don't, or are that are set to "blinking" mode - they'll blink!
|
||||||
|
|
||||||
|
![Regegade style colour codes](../assets/images/colour-codes.png "Colour Codes")
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: prompt.hjson
|
||||||
|
---
|
||||||
|
:zap: This page is to describe general information the `prompt.hjson` file. It
|
||||||
|
needs fleshing out, please submit a PR if you'd like to help!
|
Loading…
Reference in New Issue