Browse Source

changed some shell src-blocks to example blocks

master
Marc Pohling 6 years ago
parent
commit
11640bc3bf
1 changed files with 20 additions and 19 deletions
  1. 39
      config.org

39
config.org

@ -880,9 +880,9 @@ END_SRC
* Pandoc
Convert between formats, like from org to html.
Pandoc needs to be installed on the system
#+BEGIN_SRC shell
#+BEGIN_EXAMPLE
sudo apt install pandoc
#+END_SRC
#+END_EXAMPLE
Pandoc-mode is a minor mode to interact with pandoc
#+BEGIN_SRC emacs-lisp
@ -922,15 +922,17 @@ sudo apt install pandoc
Since there is no debian package, it is an option to install it via pip.
I picked /opt for the installation path
#+BEGIN_SRC shell
sudo su
cd /opt
python3 -m venv beancount
source ./beancount/bin/activate
pip3 install wheel
pip3 install beancount
deactivate
#+END_SRC
#+BEGIN_EXAMPLE
sudo su
cd /opt
python3 -m venv beancount
source ./beancount/bin/activate
pip3 install wheel
pip3 install beancount
sleep 100
echo "shell running!"
deactivate
#+END_EXAMPLE
When using beancount, it will automatically pick the created virtual environment.
@ -957,21 +959,20 @@ sudo apt install pandoc
#+END_SRC
Installing fava for reports is strongly recommended.
#+BEGIN_SRC shell
sudo su
#+BEGIN_EXAMPLE
cd /opt
python3 -m venv vava
source ./vava/bin/activate
pip3 install wheel
pip3 install fava
deactivate
#+END_SRC
#+END_EXAMPLE
Start fava with
#+BEGIN_SRC shell
#+BEGIN_EXAMPLE
fava my_file.beancount
#+END_SRC
#+END_EXAMPLE
It is accessable on this URL: [[http://127.0.0.1:5000][Fava]]
Beancount-mode can start fava and open the URL right away.
@ -1623,9 +1624,9 @@ END_SRC
Major mode to edit markdown files.
For previews it needs markdown installed on the system.
For debian:
#+BEGIN_SRC shell
#+BEGIN_EXAMPLE
sudo apt install markdown
#+END_SRC
#+END_EXAMPLE
#+BEGIN_SRC emacs-lisp
(use-package markdown-mode

Loading…
Cancel
Save