← Back to team overview

zim-wiki team mailing list archive

Re: Ecodiv-responsive theme update


Hi Paulo,

Related to the syntax highlighting, there is this comment in the plugin

                # class="brush: language;" works with SyntaxHighlighter
                # by Alex Gorbatchev <
                # TODO: not all GtkSourceView language ids match with
                # language ids.
                # TODO: some template instruction to be able to use other
highlighters as well?

Have not tested myself, but current class attribute should allow you to use
the syntax highlighter that is mentioned.

Could make this a template option to support other highlighters as well,
but that requires some work on my part to hack the object framework.



On Wed, Nov 5, 2014 at 2:45 PM, Paulo van Breugel <p_vanbreugel@xxxxxxxxx>

> Just want to share an update of the ecodiv-responsive export theme (
> https://github.com/ecodiv/Ecodiv-responsive). I added the (default)
> option to export the pages with a header image. For an example, see
> http://notebook.ecodiv.org/. Idea was to make it look a little bit more
> like my blog page (http://pvanb.wordpress.com/). If you don't like it,
> you can easily change the default header image or remove the option
> altogether in the template. Furthermore some small cosmetic changes and a
> bug fix (if menu was longer than height of screen, part of the menu was not
> accessible anymore... now you'll get a scrollbar so you can scroll to the
> end of the  menu).
> Not done yet, but on the to-do list is for on the mobile (small screens)
> to have on the pages open with the menu closed. Should be simple, but
> haven't figures out how yet. A second thing I would like is to have code
> blocks exported as html with syntax highlighting. No clue how yet though..
> ideas are welcome.
> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki
> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp

Follow ups