Does simple markup, such as italic, work for whole paragraphs or only for parts of the line? For example:
/first italic paragraph
second italic paragraph/
If not - what would be a correct way to do that?
The maximum number of newlines allowed in an Org emphasis expression is controlled by the last element in
org-emphasis-regexp-components. As is mentioned in the docstring, you need to reload Org after changing this variable to take effect:
(setf (nth 4 org-emphasis-regexp-components) 10) (load-library "org")
This approach uses Emacs macros to do what you need. Follow the steps given below.
C-a. This takes the cursor to the beginning of the line.
/key and press
C-eto move the cursor to the end of the current line and type
/again. Notice that your line is already has italic formatting applied in org-mode.
M-x name-last-kbd-macroand give your macro a name. For example: para_italic.
C-spc) the paragraph (only one paragraph) at a time and use the command
To learn more about using keyboard macros, you can refer,