Le 6 mai 2006 à 20:49, Anton J Aylward a écrit :
Realistically, I can only see macros working with something a bit
more ...
controlled? What spring to mind is the render-chain mechanism
used in the
perl-based wiki "CGI::Kwiki". The plugins that do 'macro' work
ow +
session.user.timezone).strftime("%H:%M:%S") %>
BUT !!
That is a template.
I want to be able to put the macros in the data of a blog or wiki so that
when the template reads..
http://www.w3.org/TR/html4/strict.dtd
--repeating (e.g. ** item) for indented lists.
Ben Wilson
[1]: http://www.pmwiki.org
On 5/2/06, A. Pagaltzis <[EMAIL PROTECTED]> wrote:
* Anton J Aylward <[EMAIL PROTECTED]> [2006-05-02 19:35]:
> Is there any way to do macros in Markdown? Or do you have any
> other suggestions?
* Anton J Aylward <[EMAIL PROTECTED]> [2006-05-02 19:35]:
> Is there any way to do macros in Markdown? Or do you have any
> other suggestions?
You can hack this on top of Markdown as it is, as long as you
don’t need to nest macros inside links. Then you can write this:
> You
Is there any way to do macros in Markdown?
Or do you have any other suggestions?
I'm thinking of a few uses.
One is to read back system stuff that might be global or session settings.
Example
Tell the user where they are coming from, time etc
You are %%USERNAME%%
Logged