emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

export to odt, but #text# should be coloured


From: Uwe Brauer
Subject: export to odt, but #text# should be coloured
Date: Thu, 09 Jun 2022 20:37:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Hi

a short hack of the sort

  (interactive)
  (while (re-search-forward "#\\([^#]*\\)#" nil t)
    (replace-match "<span style=\"color:red\">\\1</span>")))
Allows me to export text like this
#important#

to HTML where the resulted text is colored in red.

Now, how can I achieve something like this for the odt export?

Reards
Uwe Brauer
-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]