diff --git a/ha-org-publishing.org b/ha-org-publishing.org index ae10cb5..194a4d2 100644 --- a/ha-org-publishing.org +++ b/ha-org-publishing.org @@ -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: #+begin_src emacs-lisp :results silent -(require 'ox-rss) -(require 'ox-publish) + (require 'ox-rss) + (require 'ox-publish) #+end_src Variable settings: #+begin_src emacs-lisp -(setq org-export-with-broken-links t - org-mode-websrc-directory "/Volumes/Personal/dropbox/website" - org-mode-publishing-directory (concat (getenv "HOME") "/website-public/")) + (setq org-export-with-broken-links t + org-mode-websrc-directory "~/website" + org-mode-publishing-directory (concat (getenv "HOME") "/website-pub/")) #+end_src * The Projects I separate my /website/ into distinct projects separately built: diff --git a/ha-programming.org b/ha-programming.org index 3015e38..6153402 100644 --- a/ha-programming.org +++ b/ha-programming.org @@ -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]]. #+begin_src emacs-lisp (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") :general (: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 (use-package flycheck-yamllint :after (flycheck) - :ensure-system-package - (yamllint . "pip install yamllint") :config (flycheck-yamllint-setup) :hook (yaml-mode . flycheck-mode))) #+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]]: #+begin_src emacs-lisp