> [ Adding Org ML back to CC ]
> Uwe Brauer writes:
> See "13.9.12 CSS support" section of Org manual.
Thanks!
#+OPTIONS: html-style:nil
Works, maybe is too blunt, but good enough for me
--
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression
[ Adding Org ML back to CC ]
Uwe Brauer writes:
>>> | Will this work?
>>> | {{{IDATE(<2023-02-11>)}}}
>>> `
>>>
>>> Does not work for me
>>
>> It does work. It's just that default css style for timestamps sets the
>> color of its own.
>
> Well but then what should I do on a practical
Uwe Brauer writes:
> | #+MACRO: IDATE @@html:@@$1@@html:@@
> |
> | * Title <{{{IDATE(2023-02-11)}}}> o {{{IDATE(<2023-02-11>)}}}
> |
> | Will this work?
> | {{{IDATE(<2023-02-11>)}}}
> `
>
> Does not work for me
It does work. It's just that default css style for timestamps sets the
>>> "IR" == Ihor Radchenko writes:
> Uwe Brauer writes:
>> <2023-02-11>
>>
>> But I would like to having the same result org-mime obtains
>>
>> Namely
>>
>> 11.02.2023
>>
>> Any chance to get that also?
> #+MACRO: IDATE @@html:@@$1@@html:@@
Thanks but
Uwe Brauer writes:
> <2023-02-11>
>
> But I would like to having the same result org-mime obtains
>
> Namely
>
> class="timestamp"> 11.02.2023
>
> Any chance to get that also?
#+MACRO: IDATE @@html:@@$1@@html:@@
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode
>>> "IR" == Ihor Radchenko writes:
> Uwe Brauer writes:
>>> #+MACRO: IDATE @@html:$1@@
>>
>>> {{{IDATE(<2023-02-11>)}}}
>> ...
>> * Title {{{<2023-02-11>}}}
>> {{{(<2023-02-11>)}}}
>>
>>
>> Does not work when exporting to html, and I have recent developer org
>> version installed
> You
Uwe Brauer writes:
"BB" == Bruno Barbier writes:
>
>> Uwe Brauer writes:
>> ..
>
>>> (add-to-list 'org-export-filter-plain-text-functions 'my-html-red)
>> ..
>
>>> But if I have
>>> #<2023-02-11>#
>>> in an org file and export it to html, no color is added to the timestamp.
>>>
>>> I
Uwe Brauer writes:
>> #+MACRO: IDATE @@html:$1@@
>
>> {{{IDATE(<2023-02-11>)}}}
> ...
> * Title {{{<2023-02-11>}}}
> {{{(<2023-02-11>)}}}
>
>
> Does not work when exporting to html, and I have recent developer org
> version installed
You forgot to specify IDATE macro name.
--
Ihor Radchenko
>>> "BB" == Bruno Barbier writes:
> Uwe Brauer writes:
> ..
>> (add-to-list 'org-export-filter-plain-text-functions 'my-html-red)
> ..
>> But if I have
>> #<2023-02-11>#
>> in an org file and export it to html, no color is added to the timestamp.
>>
>> I don't know how to debug this.
>>
>>
Uwe Brauer writes:
..
> (add-to-list 'org-export-filter-plain-text-functions 'my-html-red)
..
> But if I have
> #<2023-02-11>#
> in an org file and export it to html, no color is added to the timestamp.
>
> I don't know how to debug this.
>
> Any idea?
In org, "<2023-02-11>" is a date,
Hi
The following drives me a bit crazy.
I have two functions, one for email.
(defun my-color-red-html ()
(interactive)
(while (re-search-forward "#\\([^#]*\\)#" nil t)
(replace-match "\\1")))
I put this function into two hooks
(add-hook 'org-mime-html-hook 'my-color-red-html)
11 matches
Mail list logo