Add Twitter Bootstrap support to org
This commit is contained in:
parent
f478686c69
commit
f462c9475f
|
@ -10,6 +10,7 @@
|
|||
- [[#install][Install]]
|
||||
- [[#layer][Layer]]
|
||||
- [[#github-support][Github support]]
|
||||
- [[#twitter-bootstrap-support][Twitter Bootstrap support]]
|
||||
- [[#gnuplot-support][Gnuplot support]]
|
||||
- [[#revealjs-support][Reveal.js support]]
|
||||
- [[#different-bullets][Different bullets]]
|
||||
|
@ -83,6 +84,17 @@ flavored markdown set the variable =org-enable-github-support= to =t=.
|
|||
(org :variables org-enable-github-support t)))
|
||||
#+END_SRC
|
||||
|
||||
** Twitter Bootstrap support
|
||||
To install the Twitter Boostrap extension (from [[https://github.com/marsmining/ox-twbs][ox-twbs]]), which enables twitter
|
||||
bootstrap formatted html, then set the variable =org-enable-bootstrap-support=
|
||||
to =t=.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq-default dotspacemacs-configuration-layers '(
|
||||
(org :variables
|
||||
org-enable-bootstrap-support t)))
|
||||
#+END_SRC
|
||||
|
||||
** Gnuplot support
|
||||
Org-mode support the plotting of data within tables through [[http://www.gnuplot.info/][Gnuplot]] as
|
||||
demonstrated [[http://orgmode.org/worg/org-tutorials/org-plot.html][here]]; unfortunately, this is [[https://github.com/bruceravel/gnuplot-mode/issues/15][not terribly well supported]] on Windows
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
|
||||
;; Variables
|
||||
|
||||
(defvar org-enable-bootstrap-support nil
|
||||
"If non-nil Twitter Bootstrap related packages are configured.")
|
||||
|
||||
(defvar org-enable-github-support nil
|
||||
"If non-nil Github related packages are configured.")
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
org-pomodoro
|
||||
org-present
|
||||
(org-projectile :toggle (configuration-layer/package-usedp 'projectile))
|
||||
(ox-twbs :toggle org-enable-bootstrap-support)
|
||||
;; use a for of ox-gfm to fix index generation
|
||||
(ox-gfm :location (recipe :fetcher github :repo "syl20bnr/ox-gfm")
|
||||
:toggle org-enable-github-support)
|
||||
|
@ -524,6 +525,9 @@ Headline^^ Visit entry^^ Filter^^ Da
|
|||
(org-projectile:per-repo)
|
||||
(setq org-projectile:per-repo-filename org-projectile-file))))
|
||||
|
||||
(defun org/init-ox-twbs ()
|
||||
(spacemacs|use-package-add-hook org :post-config (require 'ox-twbs)))
|
||||
|
||||
(defun org/init-ox-gfm ()
|
||||
(spacemacs|use-package-add-hook org :post-config (require 'ox-gfm)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue