[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: # Comments export
From: |
Eric S Fraga |
Subject: |
Re: # Comments export |
Date: |
Mon, 30 May 2022 08:35:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
On Sunday, 29 May 2022 at 00:46, Ypo wrote:
> I wanted to export my #comments so I could share my notes with more
> people, using HTML export. I would export all of them.
I use drawers for this and then have specific processing of different
types of drawers, depending on target.
For instance, I might have :note: drawers (similar to inline tasks) with
the following processing (for odt export; similar for LaTeX):
--8<---------------cut here---------------start------------->8---
(setq-local org-odt-format-drawer-function
(lambda (name contents)
(if (string= name "note")
(progn
(format "<text:span
text:background=\"#FFFF00\">%s</text:span>" contents)))))
--8<---------------cut here---------------end--------------->8---
(progn because I used to do more in there...)
--
: Eric S Fraga, with org release_9.5.3-511-g8e69ad in Emacs 29.0.50
- # Comments export, Ypo, 2022/05/28
- Re: # Comments export, Timothy, 2022/05/28
- Re: # Comments export, Ypo, 2022/05/28
- Re: # Comments export, Timothy, 2022/05/28
- Re: # Comments export, Samuel Wales, 2022/05/28
- Re: # Comments export, Ypo, 2022/05/28
- Re: # Comments export, Ihor Radchenko, 2022/05/28
- Re: # Comments export, Ypo, 2022/05/29
- Re: # Comments export, Ihor Radchenko, 2022/05/29
- Re: # Comments export,
Eric S Fraga <=
- Re: # Comments export, Juan Manuel MacĂas, 2022/05/30
- Re: # Comments export, Tim Cross, 2022/05/30