[Vim-l] Category lines
Martin Tournoij
carpetsmoker at rwxrwxrwx.net
Sat Apr 19 19:46:08 UTC 2008
On Sat, Apr 19, 2008 at 03:02:25PM +0200, hermitte at free.fr wrote:
> John Beckett <johnb.beckett at gmail.com> wrote:
> > I've started trying this out recently, for example in
> > http://vim.wikia.com/wiki/Entering_special_characters.
> >
> > Following this procedure, I would put:
> >
> > [[Category:Folding]]
> > [[Category:Python]]
> > ==Comments==
> > Any comments go here.
> >
> > ----
> >
> > It looks a little weird at first, but I'm wondering if it might be better in
> > the long term. Any thoughts?
>
> Why not being even more crazy? We could add a "Categories=" option to {{vimtip}}
> This way the template can take care of sorting all the categories the way we
> want. And nobody is disturbed by category lines in the text of the tip.
>
> Luc Hermitte
I agree with Luc, we can also just place them beneath the {{vimtip}}
template:
{{vimtip
id=1
author=John Doe
[..]
}}
[[Category: Example Tips]]
[[Category: The Twilight Tips]]
[..]
This just looks so much cleaner...
Regards,
Martin Tournoij (Carpetsmoker)
More information about the Vim-l
mailing list