From 890da2e9ba2e6645c711057f3579ddf71423afcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20De=20Un=C3=A1nue?= Date: Thu, 23 Apr 2020 20:59:34 -0600 Subject: [PATCH] El bloque es "js" no "javascript". Desactivando org-re-reveal. Esperando respuesta del creador de emacs-reveal para ver como lo configuro --- emacs/emacs-org-mode.org | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/emacs/emacs-org-mode.org b/emacs/emacs-org-mode.org index 97490cf..7752040 100644 --- a/emacs/emacs-org-mode.org +++ b/emacs/emacs-org-mode.org @@ -203,14 +203,14 @@ En el campo =Location:= *** org: capture -#+begin_src +#+begin_src js javascript:location.href ='org-protocol://capture?template=c&url='+ encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title) + '&body=' + encodeURIComponent(window.getSelection()) #+end_src *** org: store-link -#+begin_src javascript +#+begin_src js javascript:location.href ='org-protocol://capture?template=l&url='+ encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title) #+end_src @@ -637,7 +637,6 @@ Esto también lo vamos a ocupar (dot . t) (css . t) (jq . t) - ;(javascript .t) (plantuml . t))) (add-to-list 'org-babel-load-languages language)) @@ -1077,12 +1076,12 @@ tar zxf /tmp/reveal.tar.gz -C ~/software/js/revealjs --strip-component 1 #+END_SRC -*** org-re-reveal +*** org-re-reveal :deprecated: Al parecer =ox-reveal= [[https://github.com/yjwen/org-reveal/issues/363#issuecomment-460270780][no está siendo mantenido]], la alternativa propuesta en el mismo lugar es el [[https://gitlab.com/oer/org-re-reveal][fork]] =org-re-reveal=: -#+begin_src emacs-lisp +#+begin_src emacs-lisp :tangle no (use-package org-re-reveal :after ox :demand t @@ -1459,7 +1458,7 @@ Not for real use, just here for demonstration purposes." Extiende =org-protocol= -#+begin_src javascript +#+begin_src js javascript:location.href = 'org-protocol:/roam-ref?template=r&ref=' + encodeURIComponent(location.href)