Hi Robert, Robert Klein <rokl...@roklein.de> writes:
>> The patch would make the default html header a bit longer, which may >> or may not be an issue. Perhaps more importantly, it also does not >> deal with new languages. Maybe it would be possible to add a bit of >> JS that would look up the language based on the class of the block in >> question? >> >> E.g. the block >> >> #+BEGIN_SRC rsgrs >> >> #+END_SRC >> >> would have class "src-rsgrs". > > This happens already, but the JS would also have to create the > corresponding CSS code (that's what I hardcoded in the patch). > > However you'd still need a mapping from src block identifier to > pleasantly readable text, e.g. js -> "Javascript", sql -> "SQL", > emacs-lisp -> "Emacs Lisp", ps -> "PostScript" etc. When you have all > those it's not that much different from static CSS anymore... Fair point. > Anyway, my patch is basically for those who don't roll their own CSS to > have things mostly working out of the box. Seems good to me. Robert, do you have a copyright assignment of changes to Emacs? I think the change is too long (in line count) for a TINYCHANGE. Thanks, Rasmus -- And I faced endless streams of vendor-approved Ikea furniture. . .