From andrea.censi at dis.uniroma1.it Thu May 24 10:02:30 2007 From: andrea.censi at dis.uniroma1.it (Andrea Censi) Date: Thu, 24 May 2007 16:02:30 +0200 Subject: [Maruku-users] [release] Maruku 0.5.6 Message-ID: * News: - Now Maruku is in the official Gentoo Portage tree (done by [Aggelos Orfanakos]) * New stuff: - Attribute `maruku_signature` defaults to false. (many people asked this) - unittests scripts are included in the distribution. - New attribute `filter_html`: if true, raw HTML/XML is discarded. (asked by Marik) - Command line: if output file is `-`, Maruku writes to stdout. * Bug fixes: * Another tiny bug in HTML parsing. * In latex, `\linebreak` was used instead of `\newline` (reported by Sam Kleinman) * Fixed bug with non-alpha numeric characters in ref.ids (reported by Aggelos Orfanakos) * Pending bugs/feature requests: - Maruku does not allow 3-space indented lists. - Lists item whose first character is UTF8 are not recognized (reported by Aggelos Orfanakos) - Maruku cannot output `"`-delimited attributes, because `REXML` does not support it. [Aggelos Orfanakos]: http://agorf.gr/ -- Andrea Censi "Life is too important to be taken seriously" (Oscar Wilde) Web: http://www.dis.uniroma1.it/~censi From andrea.censi at dis.uniroma1.it Sun May 27 05:24:45 2007 From: andrea.censi at dis.uniroma1.it (Andrea Censi) Date: Sun, 27 May 2007 11:24:45 +0200 Subject: [Maruku-users] yet another feature req. In-Reply-To: <20070526135625.GA1111@cygnus> References: <20070526135625.GA1111@cygnus> Message-ID: On 5/26/07, Aggelos Orfanakos wrote: > I don't know if this is cool enough to worth the trouble > implementing it though, and if it is, how it should be implemented. Maybe > the user could write "rendered by maruku in %REND_SECS seconds" with > Maruku replacing %REND_SECS with the actual value? Or maybe the user > could specify an attribute such as: > > maruku_signature_format: "Rendered in %x seconds." > > and turn the signature on: > > maruku_signature: true Hi Aggelos, This feature seems a little too specific to be implemented at the moment (and requires another pass on the data). However, tell me your opinion on the following improvement, which may include the feature you want: I want to add an option switch to the command-line maruku that creates the HTML files based on a template. For example: $ maruku file.md # standard $ maruku --style peach file.md # add a color scheme, css for the toc, etc. That's because at the moment the customizability is very limited: one can only choose a CSS file, and that's it. One cannot add a banner, copyright, etc. So predefined template files could be specified in the distribution, or created in the user's home dir. Of course, once one has this template system it is not a problem to include variable substitution (%REND_SECS, etc.). -- Andrea Censi "Life is too important to be taken seriously" (Oscar Wilde) Web: http://www.dis.uniroma1.it/~censi