emacs-orgmode
[Top][All Lists]
Advanced

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

[O] How to fontify text within a table with elisp ?


From: Marc-Oliver Ihm
Subject: [O] How to fontify text within a table with elisp ?
Date: Sat, 03 Mar 2012 15:18:16 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

Hello,

I would like to insert some fontified text into an org-buffer; this works, as 
long as I am not within a table.

If you run this example within an org-mode buffer:

(insert (org-add-props "\n\nOutside table\n\n|Inside table|\n" '(font-lock-face 
highlight)))

the first line ("Outside table") is fontified correctly, whereas the second line 
("Inside table"),
which is a simple table, is not.

Probably this is due to the fact, that org has its own opinion, on how the 
table should be fontified.

Is there any way to circumvent this behaviour ?


with kind regards, Marc-Oliver Ihm




reply via email to

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