- From: Sid Vishnoi <sidvishnoi8@gmail.com>
- Date: Thu, 03 May 2018 06:14:09 +0000
- To: spec-prod@w3.org
Hi ReSpec users, tl;dr: * `highlightVars: true`, readers can now click on `<var>`s in an algorithm to see where they are used. * `caniuse: "some-api"` is now fully supported in config. This lets you add a Can I Use support table in the head of your spec. * New punctuation linter rule. * Google Summer of Code is on! ## `highlightVars` config option If this option is enabled, readers can click on `<var>` elements in an algorithm and all occurrences of that variable will be highlighted per section. Wiki: https://github.com/w3c/respec/wiki/highlightVars The wiki pages will have sample output for the new features we release, so that you can preview them easily. :) Live Demo: https://w3c.github.io/payment-request/#constructor You can try this in your own spec by appending `highlightVars=true` as a URL parameter. ## `caniuse` config option This feature lets you add a "Can I Use" table right in the header of your spec. You have to specify the "key" for the feature you want to show table for and ReSpec will fetch latest browser support data and display it. More info/example: https://github.com/w3c/respec/wiki/caniuse ## Punctuation rule in linter You will get a warning if you finish a paragraph without a punctuation mark. To enable this, set "check-punctuation" rule to true in lint rules, like this: ``` lint: { "check-punctuation": true } ``` ## Change log Check out the change log to see what else is new/fixed/exciting! https://github.com/w3c/respec/blob/develop/CHANGELOG.md ## Google Summer of Code (GSoC) Disclaimer: This email was sent by the student who's working on ReSpec as part of a Mozilla project in GSoC. (Hello everyone!) --- Kind regards, The Happy ReSpec Elves
Received on Thursday, 3 May 2018 06:17:02 UTC