Bug fixes
Never grab someone's code that you don't validate thoroughly. :-D
This commit is contained in:
parent
f2791ed323
commit
3e14946636
2 changed files with 11 additions and 8 deletions
|
@ -29,16 +29,16 @@ While the Emacs community have a plethora of options for generating a static web
|
||||||
While the following packages come with Emacs, they aren't necessarily loaded:
|
While the following packages come with Emacs, they aren't necessarily loaded:
|
||||||
|
|
||||||
#+begin_src emacs-lisp :results silent
|
#+begin_src emacs-lisp :results silent
|
||||||
(require 'ox-rss)
|
(require 'ox-rss)
|
||||||
(require 'ox-publish)
|
(require 'ox-publish)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Variable settings:
|
Variable settings:
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-export-with-broken-links t
|
(setq org-export-with-broken-links t
|
||||||
org-mode-websrc-directory "/Volumes/Personal/dropbox/website"
|
org-mode-websrc-directory "~/website"
|
||||||
org-mode-publishing-directory (concat (getenv "HOME") "/website-public/"))
|
org-mode-publishing-directory (concat (getenv "HOME") "/website-pub/"))
|
||||||
#+end_src
|
#+end_src
|
||||||
* The Projects
|
* The Projects
|
||||||
I separate my /website/ into distinct projects separately built:
|
I separate my /website/ into distinct projects separately built:
|
||||||
|
|
|
@ -513,7 +513,8 @@ While interested in the [[https://github.com/emacs-tree-sitter/tree-sitter-langs
|
||||||
All the READMEs and other documentation use [[https://jblevins.org/projects/markdown-mode/][markdown-mode]].
|
All the READMEs and other documentation use [[https://jblevins.org/projects/markdown-mode/][markdown-mode]].
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package markdown-mode
|
(use-package markdown-mode
|
||||||
:mode ((rx ".md" string-end)) . gfm-mode)
|
:straight (:host github :repo "jrblevin/markdown-mode")
|
||||||
|
:mode ((rx ".md" string-end) . gfm-mode)
|
||||||
:init (setq markdown-command "multimarkdown")
|
:init (setq markdown-command "multimarkdown")
|
||||||
:general
|
:general
|
||||||
(:states 'normal :no-autoload t :keymaps 'markdown-mode-map
|
(:states 'normal :no-autoload t :keymaps 'markdown-mode-map
|
||||||
|
@ -535,11 +536,13 @@ Doing a lot of [[https://github.com/yoshiki/yaml-mode][YAML work]], but this pro
|
||||||
:config
|
:config
|
||||||
(use-package flycheck-yamllint
|
(use-package flycheck-yamllint
|
||||||
:after (flycheck)
|
:after (flycheck)
|
||||||
:ensure-system-package
|
|
||||||
(yamllint . "pip install yamllint")
|
|
||||||
:config (flycheck-yamllint-setup)
|
:config (flycheck-yamllint-setup)
|
||||||
:hook (yaml-mode . flycheck-mode)))
|
:hook (yaml-mode . flycheck-mode)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
Note this needs the following to run properly:
|
||||||
|
#+begin_src sh
|
||||||
|
pip install yamllint
|
||||||
|
#+end_src
|
||||||
|
|
||||||
Ansible uses Jinja, so we install the [[https://github.com/paradoxxxzero/jinja2-mode][jinja2-mode]]:
|
Ansible uses Jinja, so we install the [[https://github.com/paradoxxxzero/jinja2-mode][jinja2-mode]]:
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
Loading…
Reference in a new issue