Skip to content
Snippets Groups Projects
Commit 8e40fae6 authored by Michael Hauspie's avatar Michael Hauspie
Browse files

Change how org-mode displays inline images

parent 938f43c4
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ Then add package repositories
#+BEGIN_SRC emacs-lisp
(require 'package)
; (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/nongnu/") t)
(unless (fboundp 'package-activate-all) (package-initialize))
#+END_SRC
......@@ -540,6 +540,7 @@ org with contributed packages added.
'("el" . "src emacs-lisp"))
(set-face-foreground 'org-verbatim "orange1")
;; Define a document class that do not use parts and start with chapters for latex export
(setq org-image-actual-width nil)
)
#+END_SRC
......@@ -607,7 +608,7 @@ it with =visual-fill-column= to enhance the visual look of the presentation.
(display-line-numbers-mode 0)
(menu-bar-mode 0)
(scroll-bar-mode 0)
(org-display-inline-images)
;; Hide emphasis markers on formatted text
(setq org-hide-emphasis-markers t)
......@@ -656,6 +657,7 @@ it with =visual-fill-column= to enhance the visual look of the presentation.
(display-line-numbers-mode 1)
(menu-bar-mode 1)
(scroll-bar-mode 1)
(org-remove-inline-images)
;; Reset font customizations
(setq-local face-remapping-alist nil)
;; Show emphasis markers on formatted text
......@@ -1181,7 +1183,7 @@ cargo install slint-lsp
#+end_src
*** Protocol buffers
** Protocol buffers
#+begin_src emacs-lisp
(use-package protobuf-mode)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment