feat[anki,html,weblorg]: Added weblorg package

Adjusted html export settings to allow correct render of mathematics.
Added snippet for anki-cloze
This commit is contained in:
Judah Sotomayor 2023-12-14 23:33:15 -05:00
parent bdfebf8ce7
commit 83eddd3c9f
Signed by: judahsotomayor
SSH Key Fingerprint: SHA256:9Dq4ppxhfAjbX+7HLXEt+ROMiIojI6kqQgUyFUJb9lI
2 changed files with 22 additions and 3 deletions

View File

@ -25,6 +25,7 @@ Some basic settings for Emacs
(setq user-full-name "Judah Sotomayor"
user-mail-address "")
#+end_src
#+begin_src emacs-lisp :tangle "packages.el"
(package! noCtrlC
:recipe (:host nil :type git :repo "https://git.freedomland.xyz/judahsotomayor/noctrlc"))
@ -497,6 +498,14 @@ In order for editorconfig to do its thing, indentation by the lsp must be disabl
(setq org-hugo-base-dir (concat org-directory (file-name-as-directory "website")))
(setq org-hugo-default-section-directory "posts")
#+end_src
** Weblorg Alternative
#+begin_src emacs-lisp :tangle "packages.el"
(package! weblorg)
#+end_src
#+begin_src emacs-lisp
(use-package! weblorg)
#+end_src
* Crafting a Writing Environment
For writing I like to automate as much as possible.
@ -536,9 +545,7 @@ $x + 1 = 3$
: luamagick
#+begin_src emacs-lisp
(setq-default org-html-with-latex `dvisvgm)
(setq-default org-html-with-latex 'verbatim)
(unless (boundp 'org-latex-classes)
(setq org-latex-classes nil))
@ -1041,6 +1048,7 @@ This template is supposed to be the standard.
"\\documentclass[]{mcdowellcv}
\\usepackage{amsmath}
\\usepackage[]{multicol}
\\usepackage[hidelinks]{hyperref}
[NO-DEFAULT-PACKAGES]
[NO-PACKAGES]"
("\\section{%s}" . "\\section*{%s}")
@ -1268,6 +1276,10 @@ SVGBob is an ASCII art renderer. It can do all kinds of nifty things with just a
* Archiving
#+begin_src emacs-lisp
(setq org-archive-location "/home/user/org/archive.org::")
#+end_src
* Init.el
I like to have all my config in one place.

7
snippets/org-mode/{{c Normal file
View File

@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: Anki cloze
# uuid:2023-12-10t232420
# key: cz
# condition: t
# --
{{c$1::$0::$.=.$}}