Re: Extending the wiki markup syntax

2016-03-14 Thread Erik Gustafson
Hi Alex, BUT, I see a general problem with that: Allowing the specification of > styles is not very helpful unless the user can also upload or define his > own styles. So this opens a pandora box. > Thanks for playing around with it. The only thing I can think of - without opening the box - is to

Re: Extending the wiki markup syntax

2016-03-12 Thread Alexander Burger
Hi Erik, > > As far as implementation goes, we would just need to add a clause to > > the 'render' function in 'wiki/lib.l', right? Something like > > > >("$"# Style > > (let Cls (till ... T) # get CSS class(es) > > (prin "") > > (recurse T)# render the res

Re: Extending the wiki markup syntax

2016-03-11 Thread pd
On Thu, Mar 10, 2016 at 4:41 PM, Alexander Burger wrote: > Hi Erik, > > > be the right choice there. For the others, couldn't it expand into a > > 'class=' or 'id=' within the tag? So, > > > >x{myStyle > > /{This is the text} > >} > > > > would expand to, > > > >This is the text

Re: Extending the wiki markup syntax

2016-03-10 Thread Alexander Burger
Hi Erik, > be the right choice there. For the others, couldn't it expand into a > 'class=' or 'id=' within the tag? So, > >x{myStyle > /{This is the text} >} > > would expand to, > >This is the text > > > and > >x{myStyle > 1{This is the header} >} > > would

Re: Extending the wiki markup syntax

2016-03-09 Thread Rick Hanson
On 09 Mar 2016, 19:53:22 +0100, Thorsten Jolitz wrote: > The gitrepo of my iOrg project can be found here: > > , > | https://github.com/tj64/iorg > ` Thorsten, thank you for reminding me of this project. It looks very nice! I wish I could check it out

Re: Extending the wiki markup syntax

2016-03-09 Thread Thorsten Jolitz
Alexander Burger writes: Hi Alex, Hi List, thanks for the cool tractatus and the as always very interesting views about wiki markup. I don't know if I should mention it, because it's in a raw state and I don't have much time to polish it now, but as you know there does exist already an alterna

Re: Extending the wiki markup syntax

2016-03-09 Thread Erik Gustafson
Hi Alex, Not sure. The drawback is that it breaks a little bit the logic of the > markup parser, which expects a single char plus a '{'. > Good catch, I didn't think of that. > Perhaps a separate markup, with a dedicated character, is better? Let's > use 'x' for now (though I try to avoid alpha

Re: Extending the wiki markup syntax

2016-03-09 Thread Alexander Burger
Hi Erik, > I've been spending a lot of time with the wiki, working on the > new website (more on that in the coming weeks). Along the way, > I've found myself desiring a couple features. Notably, the > ability to attach arbitrary CSS to particular wiki documents. A good idea! > I imagine attachi

Extending the wiki markup syntax

2016-03-08 Thread Erik Gustafson
Hi list, I keep returning to this idea, so I thought I'd do a little write up and share it with you all. tldr: A thought experiment about extending the wiki markup syntax to inclued mechanisms for input forms and DB entity linkage. I've been spending a lot of time with the wiki, work