chore(markdown): MD040 Fenced code blocks should have a language specified

Signed-off-by: txtsd <thexerothermicsclerodermoid@gmail.com>
This commit is contained in:
txtsd 2022-07-12 21:04:57 +05:30
parent 358f080c76
commit fba20e2cfb
No known key found for this signature in database
GPG Key ID: 000F85679D4B6B53
2 changed files with 16 additions and 12 deletions

View File

@ -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);

View File

@ -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 ];
}
``` ```