mirror of
https://git.sr.ht/~magic_rb/website
synced 2024-11-25 09:36:14 +01:00
Add YAML mode
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
9b2cf353fa
commit
4971e799bc
19
flake.lock
19
flake.lock
|
@ -115,7 +115,8 @@
|
||||||
"nixng": "nixng",
|
"nixng": "nixng",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"org-thtml": "org-thtml",
|
"org-thtml": "org-thtml",
|
||||||
"web-mode": "web-mode"
|
"web-mode": "web-mode",
|
||||||
|
"yaml-mode": "yaml-mode"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"web-mode": {
|
"web-mode": {
|
||||||
|
@ -133,6 +134,22 @@
|
||||||
"repo": "web-mode",
|
"repo": "web-mode",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"yaml-mode": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1641308620,
|
||||||
|
"narHash": "sha256-/0Gt2jqJljN5glxG7H0L3rZVRc34d9jCkoYALHDRt7w=",
|
||||||
|
"owner": "yoshiki",
|
||||||
|
"repo": "yaml-mode",
|
||||||
|
"rev": "a79d2a7b9281f8c56f461d717b1ba40fc58e22fd",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "yoshiki",
|
||||||
|
"repo": "yaml-mode",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
modus-themes = { url = "github:protesilaos/modus-themes"; flake = false; };
|
modus-themes = { url = "github:protesilaos/modus-themes"; flake = false; };
|
||||||
web-mode = { url = "github:fxbois/web-mode"; flake = false; };
|
web-mode = { url = "github:fxbois/web-mode"; flake = false; };
|
||||||
hcl-mode = { url = "github:purcell/emacs-hcl-mode"; flake = false; };
|
hcl-mode = { url = "github:purcell/emacs-hcl-mode"; flake = false; };
|
||||||
|
yaml-mode = { url = "github:yoshiki/yaml-mode"; flake = false; };
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self
|
outputs = { self
|
||||||
|
@ -17,6 +18,7 @@
|
||||||
, modus-themes
|
, modus-themes
|
||||||
, web-mode
|
, web-mode
|
||||||
, hcl-mode
|
, hcl-mode
|
||||||
|
, yaml-mode
|
||||||
, ...
|
, ...
|
||||||
}@inputs:
|
}@inputs:
|
||||||
let
|
let
|
||||||
|
@ -40,6 +42,7 @@
|
||||||
emacsclient -e $'(add-to-list \'load-path "${emacs-htmlize}")'
|
emacsclient -e $'(add-to-list \'load-path "${emacs-htmlize}")'
|
||||||
emacsclient -e $'(add-to-list \'load-path "${web-mode}")'
|
emacsclient -e $'(add-to-list \'load-path "${web-mode}")'
|
||||||
emacsclient -e $'(add-to-list \'load-path "${hcl-mode}")'
|
emacsclient -e $'(add-to-list \'load-path "${hcl-mode}")'
|
||||||
|
emacsclient -e $'(add-to-list \'load-path "${yaml-mode}")'
|
||||||
|
|
||||||
emacsclient -e '(load-file "./make.el")'
|
emacsclient -e '(load-file "./make.el")'
|
||||||
emacsclient -e '(magic_rb/publish-website "${which}")'
|
emacsclient -e '(magic_rb/publish-website "${which}")'
|
||||||
|
|
1
make.el
1
make.el
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
(require 'web-mode)
|
(require 'web-mode)
|
||||||
(require 'hcl-mode)
|
(require 'hcl-mode)
|
||||||
|
(require 'yaml-mode)
|
||||||
(ignore-errors (require 'ox-thtml))
|
(ignore-errors (require 'ox-thtml))
|
||||||
|
|
||||||
;; https://alhassy.github.io/AlBasmala.html#Floating-TOC
|
;; https://alhassy.github.io/AlBasmala.html#Floating-TOC
|
||||||
|
|
Loading…
Reference in a new issue