ReSpec: highlighter and news
[email protected] Thu, 19 May 2016 23:36:43 +1000
| Newsgroups | gmane.org.w3c.specifications |
|---|---|
| Message-ID | <[email protected]> |
Hi ReSpec users, We are super excited to announce an update to ReSpec's syntax highlighter - coming in the next day or so. We are ditching the old google prettify and moving to "hljs" [1]. This is exciting because it brings support for ES2016 syntax, performance improvements, smart language detection, and ongoing updates. How does this impact you? * pre elements will be highlighted by default (yay!). You can opt out totally by setting "noHighlightCSS: true," in your ReSpec config - or give an individual pre a "nohighlight" class. * having a "highlight" class is now deprecated (it will generate a warning). Other cool things we are releasing: * we've upgraded our markdown support: you can now use ``` to denote a code block, just like on GitHub. * beatification of output. When you export (X)HTML for publication, ReSpec will try to beautify the generated code a bit for you (section tags will be nested, etc.). We hope ❤️ like the updates! Any issues, please let us know. The ReSpec Team [1] https://highlightjs.org