commit d88b5ba46a7f433b28d2705f663cfbf0681e0048
parent 77e49ec00a73ee3d4fdef991388fcc2410edfcbf
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sat, 26 May 2018 11:57:40 -0500
Export text wrapped in "~" as key bindings in ox-hugo.
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/README.org b/README.org
@@ -555,6 +555,7 @@ Insert braces after ~_~ or ~^~.
Exporter from =org-mode= to =hugo=.
** Installation
+
Enable =ox-hugo= as an option for exporting.
#+BEGIN_SRC emacs-lisp
@@ -562,6 +563,12 @@ Enable =ox-hugo= as an option for exporting.
:ensure t
:init (with-eval-after-load 'ox (require 'ox-hugo)))
#+END_SRC
+** Export Key Bindings
+Wrap key bindings in =<kbd>=.
+
+#+BEGIN_SRC emacs-lisp
+ (setq org-hugo-use-code-for-kbd t)
+#+END_SRC
** DISABLED Auto Set Export Parameters
Auto sets export parameters when using =org-capture=.
diff --git a/static/republic.png b/static/republic.png
Binary files differ.