[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Conditional link export?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Conditional link export? |
Date: |
Sun, 08 Nov 2015 16:04:51 +0100 |
Oleh Krehel <address@hidden> writes:
> Is that a new feature?
It is probably almost as old as Babel itself.
> First time I've heard about it, and I did google
> for inline code block evaluation before.
You should check the Org manual first:
(info "(org) Structure of code blocks")
> In any case, the HTML export result of e.g. this:
>
> The current time is: src_emacs-lisp{(format "<a href=%S>%s</a>"
> "http://google.com"; (format-time-string "%H:%M"))}.
>
> is:
>
> The current time is: <code><a href</code>"<a
> href="http://google.com/";>http://google.com/</a>">15:50</a>=.
>
> which is far from what I want.
Try
The current time is: src_emacs-lisp[:results html]{(format "<a
href=%S>%s</a>" "http://google.com"; (format-time-string "%H:%M"))}.
> And I still think that Elisp could benefit from privileged call
> syntax. Compare:
>
> !(foo)
>
> to
>
> src_emacs-lisp{(foo)}
I'm not a big fan of redundant syntax. Also, I'm trying to move Org
format out of Elisp's grasp. This doesn't help much either.
> Additionally `org-edit-src-code' doesn't work for these blocks.
Do you want to provide a patch for it?
Regards,
- [O] Conditional link export?, Oleh Krehel, 2015/11/06
- Re: [O] Conditional link export?, Aaron Ecay, 2015/11/06
- Re: [O] Conditional link export?, Aaron Ecay, 2015/11/06
- Re: [O] Conditional link export?, Oleh Krehel, 2015/11/07
- Re: [O] Conditional link export?, Aaron Ecay, 2015/11/07
- Re: [O] Conditional link export?, Achim Gratz, 2015/11/07
- Re: [O] Conditional link export?, Oleh Krehel, 2015/11/08
- Re: [O] Conditional link export?, Nicolas Goaziou, 2015/11/08
- Re: [O] Conditional link export?, Oleh Krehel, 2015/11/08
- Re: [O] Conditional link export?,
Nicolas Goaziou <=
- Re: [O] Conditional link export?, Oleh Krehel, 2015/11/08
- Re: [O] Conditional link export?, Nicolas Goaziou, 2015/11/08
- Message not available
- Message not available
- Message not available
- Message not available
- Re: [O] Conditional link export?, John Kitchin, 2015/11/22
- Re: [O] Conditional link export?, Aaron Ecay, 2015/11/08
- Re: [O] Conditional link export?, John Kitchin, 2015/11/06