removed unused code
The LaTeX conlang class has been added to my dotspacemacs instead
This commit is contained in:
parent
d8dc7b7649
commit
3567ae5d5b
@ -11,20 +11,6 @@
|
||||
|
||||
# ### CODE #####################################################################
|
||||
|
||||
#+name: setup
|
||||
#+begin_src emacs-lisp :results silent :exports none
|
||||
(unless (find "conlang" org-latex-classes :key 'car
|
||||
:test 'equal)
|
||||
(add-to-list 'org-latex-classes
|
||||
'("conlang"
|
||||
"\\documentclass{book}"
|
||||
;; ("\\part{%s}" . "\\part*{%s}")
|
||||
("\\chapter{%s}" . "\\chapter*{%s}")
|
||||
("\\section{%s}" . "\\section*{%s}")
|
||||
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))))
|
||||
#+end_src
|
||||
|
||||
#+NAME: tree-dot
|
||||
#+BEGIN_SRC emacs-lisp :noweb yes :exports none :eval yes
|
||||
(defun declare-node (node-text node-generation)
|
||||
|
@ -3,6 +3,7 @@
|
||||
window.onload = function() {
|
||||
reorganize_html();
|
||||
create_theme_switcher();
|
||||
console.log("JS loaded!");
|
||||
};
|
||||
|
||||
function reorganize_html() {
|
||||
@ -28,9 +29,7 @@ function create_theme_switcher() {
|
||||
|
||||
// switch CSS files and button icon, set new cookie on theme switcher click
|
||||
$('.themeBtn').click(function() {
|
||||
console.log("Theme change");
|
||||
var light = !isThemeLight();
|
||||
console.log(light);
|
||||
$("#theme").first().attr('href', './css/'
|
||||
.concat(light ? 'light' : 'dark')
|
||||
.concat('.css'));
|
||||
|
Reference in New Issue
Block a user