please try to put the begin of the block and the end of the block in
separate lines:

```
<content>
```

it is also possible specify the language of the block, in this case css:

```css
<content>
```

the plugin works with codeblocks not with codeinline.

(I think highlightjs don't support sass or less, for that you need the
lesscss.org)


regards,

jb

On 26/01/14 22:57, Danielo Rodríguez wrote:
> Ok, first issue here:
> 
> If I drop this tiddler on TW5.0.7 I get a Javascript Internal error error.
> It has the tags $:/tags/stylesheet and topmenu. The title
> is: $:/stylesheet/topmenu
> 
> This is the content.
> 
> |
> ``` /* STYLES FOR A TOP MENU WITH TOOLBAR BUTTONS */ /* + STYLES FOR
> OTHER TOOLBARS */ /* DISTINCTION BETWEEN MOBILE MEDIA & STANDARD MEDIA
> */ /* MOBILE MEDIA MAX. 770px */ @media (max-width: 770px) { html
> .sidebar-header { padding : 42px 0 0 15px; } /* TOP MENU */ html
> .tw-topmenu { padding : 0 15px; } } /* STANDARD MEDIA MIN. 770px */
> @media (min-width: 770px) { /* TOP MENU */ html .tw-topmenu { padding :
> 0px 42px; } } /* TOP MENU, FIXED IN POSITION */ html .tw-topmenu {
> background : #EFEFEF !important; /* as background */ height : 45px;
> margin : 0; position : fixed; top : 0; left : 0; width : 100%; z-index :
> 99; } /* TOP MENU CLEARANCE */ /* TO AVOID THE TOP MENU OBSCURES PART OF
> TIDDLERS */ /* transform : translate(0px, 56px); for standard buttons
> ViewToolbar */ /* transform : translate(0px, 51px); for small buttons
> ViewToolbar above title */ /* transform : translate(0px, 44px); idem +
> smaller title 0.9em */ /* these are just indications; adjust for
> aligning Wiki title - tiddler title */ html .story-river { padding-top :
> 0px; transform : translate(0px, 44px); /* Firefox */ -ms-transform :
> translate(0px, 44px); /* IE 9 */ -webkit-transform : translate(0px,
> 44px); /* Safari and Chrome */ } /* PADDING TIDDLERS */ /* no top
> padding in case of small buttons in ViewToolbar */ html
> .tw-tiddler-frame { padding : 0px 32px 32px 32px; } /* FLOAT RIGHT */ /*
> PUSHES THE TOGGLE BUTTONS TO THE RIGHT OF THE TOP MENU */ .floatright {
> float : right; } /* TIDDLER BUTTONS: VIEWTOOLBAR, EDITTOOLBAR */ html
> .tw-tiddler-controls button svg { height : 0.5em; } /* DISTANCE BETWEEN
> BUTTONS */ /* Firefox margin: 0px 0px 0px 0px; */ /* Chrome margin: 0px
> 0px 0px 10px; */ /* adjust to your liking */ html .tw-tiddler-controls
> button { margin : 0px 0px 0px 5px; } /* TITLE - TOOLBAR SPACING
> VIEWTEMPLATE */ html .tw-tiddler-title-space { font-size : 1.4em;
> line-height : 1em; } /* DISPLAY IN 3 COLUMNS */ /* for List all tags */
> .threecolumns { display : block; column-count : 3; -moz-column-count :
> 3; -webkit-column-count: 3; } /* HELP TABLE */ /* styles the Help menu
> */ html .help-table { font-size: 0.9em; background-color : #EEF4FD
> !important; /* as background */ } /* SCALE SVG IMAGES IN HELP TABLE' */
> html .tw-images svg { height : 1.1em; } ```
> 
> |
> 
> 
> A bit sad since I really wanted the Highlight feature. 
> 
>  
> El domingo, 26 de enero de 2014 22:33:09 UTC+1, Danielo Rodríguez escribió:
> 
>     Awesome!!!
>     I was waiting for this so much!
>     I will try it out.
> 
>     Is any incompatibility expected? 
>     The new filter operands are from the Stephan widgets?
> 
>     Thank you very much for this awesome work.
> 
>     El domingo, 26 de enero de 2014 22:20:36 UTC+1, Jeremy Ruston escribió:
> 
>         TiddlyWiki 5.0.7-beta has just been released at:
> 
>         http://tiddlywiki.com/
> 
>         Particular thanks to Mario Pietsch, Stephan Hradek and João
>         Bolila for their GitHub contributions to this release. And
>         thanks to everyone whose feedback here has helped to shape and
>         improve this release.
> 
>         This release improves the documentation documentation:
> 
>         * A new video tutorial: TiddlyWiki on Firefox for Android Video
>         * A first pass at TiddlyWiki Coding Style Guidelines
>         * Added an explanation of TemplateTiddlers
>         * Added documentation for saving on a custom PHP server
>         * Added documentation for TextWidget
>         * Summary of the approach for Naming of System Tiddlers
> 
>         New features for 5.0.7
> 
>         * Added support for importing encrypted TiddlyWiki documents
>         * Added several new filter operators, including reverse, first,
>         last, butlast, rest, nth
>         * Extend list filter operator to allow other fields to be used
>         via a TextReference
>         * Added emacs and vim keymapping support to the CodeMirror plugin
>         * Added the highlight.js syntax highlighting plugin:
>         http://tiddlywiki.com/highlightdemo.html
>         <http://tiddlywiki.com/highlightdemo.html>
>         * Added the first export option to the Tools tab of the control
>         panel
>         * Added an ellipsis for advanced search next to the search box
>         in the sidebar
> 
>         Bug fixes include:
> 
>         * Fixed problem with default format of ViewWidget substituting
>         seconds for minutes in displayed times
>         * Fixed problem that was causing several animations to fail in
>         Safari
>         * Fixed problem with unclickable sidebar under the Centralised theme
>         * Fixed problem with non-system tiddlers showing up in system
>         tiddler advanced search
>         * Fixed problem with notifications not always disappearing in
>         Firefox
> 
>         As ever, exercise caution when using TiddlyWiki5, and take care
>         to protect your data. Any feedback, questions, issues are
>         welcome here or on GitHub.
> 
>         Best wishes
> 
>         Jeremy
> 
> 
>         -- 
>         Jeremy Ruston
>         mailto:[email protected]
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
PGP: 0xD39BB7C9
853F 9D17 E5F9 2EE0 50C4 B276 6B5A F53C D39B B7C9

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to