chore(markdown): MD040 Fenced code blocks should have a language specified
Signed-off-by: txtsd <thexerothermicsclerodermoid@gmail.com>
This commit is contained in:
parent
358f080c76
commit
fba20e2cfb
@ -150,7 +150,7 @@ call was successful. If so, you may proceed to read the value
|
|||||||
corresponding to the type of the content.
|
corresponding to the type of the content.
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
```
|
```c
|
||||||
toml_datum_t host = toml_string_in(tab, "host");
|
toml_datum_t host = toml_string_in(tab, "host");
|
||||||
if (host.ok) {
|
if (host.ok) {
|
||||||
printf("host: %s\n", host.u.s);
|
printf("host: %s\n", host.u.s);
|
||||||
|
26
nix/NIX.md
26
nix/NIX.md
@ -2,19 +2,21 @@
|
|||||||
|
|
||||||
To import with flakes use
|
To import with flakes use
|
||||||
```nix
|
```nix
|
||||||
inputs = {
|
{
|
||||||
polymc.url = "github:PolyMC/PolyMC";
|
inputs = {
|
||||||
};
|
polymc.url = "github:PolyMC/PolyMC";
|
||||||
|
};
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
nixpkgs.overlays = [ inputs.polymc.overlay ]; ## Within configuration.nix
|
nixpkgs.overlays = [ inputs.polymc.overlay ]; ## Within configuration.nix
|
||||||
environment.systemPackages = with pkgs; [ polymc ]; ##
|
environment.systemPackages = with pkgs; [ polymc ]; ##
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
To import without flakes use channels:
|
To import without flakes use channels:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
nix-channel --add https://github.com/PolyMC/PolyMC/archive/master.tar.gz polymc
|
nix-channel --add https://github.com/PolyMC/PolyMC/archive/master.tar.gz polymc
|
||||||
nix-channel --update polymc
|
nix-channel --update polymc
|
||||||
nix-env -iA polymc
|
nix-env -iA polymc
|
||||||
@ -22,10 +24,12 @@ nix-env -iA polymc
|
|||||||
|
|
||||||
or alternatively you can use
|
or alternatively you can use
|
||||||
|
|
||||||
```
|
```nix
|
||||||
nixpkgs.overlays = [
|
{
|
||||||
(import (builtins.fetchTarball "https://github.com/PolyMC/PolyMC/archive/develop.tar.gz")).overlay
|
nixpkgs.overlays = [
|
||||||
];
|
(import (builtins.fetchTarball "https://github.com/PolyMC/PolyMC/archive/develop.tar.gz")).overlay
|
||||||
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ polymc ];
|
environment.systemPackages = with pkgs; [ polymc ];
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user