← Back to team overview

zim-wiki team mailing list archive

Re: Ecodiv-responsive theme update


That looks nice, will try it out one of these days. A few more of these things and Zim could really be used as a full blown alternative to create (simple) websites :-)... one of those I am actually still hoping will come to Zim one day.. support for tables ;-)

On Wednesday, November 5, 2014 2:53 PM, Jaap Karssenberg <jaap.karssenberg@xxxxxxxxx> wrote:

Hi Paulo,

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

                # class="brush: language;" works with SyntaxHighlighter 2.0.278
                # by Alex Gorbatchev <http://alexgorbatchev.com/SyntaxHighlighter/>
                # TODO: not all GtkSourceView language ids match with SyntaxHighlighter
                # 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> wrote:

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