-
-
Notifications
You must be signed in to change notification settings - Fork 402
static snapshots
Open the ReSpec UI and select "Export..."

Select the format to export as.

One off...
npx respec --src source.html --out index.html
Or, to install ReSpec for repeated use:
respec --src source.html --out index.html
then:
npm install --global respec
``
For more options, run `respec --help`.
Description Converts a ReSpec source file to HTML and writes to destination.
Usage $ respec [source] [destination] [options]
Options -s, --src URL to ReSpec source file. -o, --out Path to output file. -t, --timeout How long to wait before timing out (in seconds). (default 10) --use-local Use locally installed ReSpec instead of the one in document. (default false) -e, --haltonerror Abort if the spec has any errors. (default false) -w, --haltonwarn Abort if ReSpec generates warnings. (default false) --disable-sandbox Disable Chromium sandboxing if needed. (default false) --devtools Enable debugging and show Chrome's DevTools. (default false) --verbose Log processing status to stdout. (default false) --localhost Spin up a local server to perform processing. (default false) --port Port override for --localhost. (default 3000) -v, --version Displays current version -h, --help Displays this message
<aside class="note">
If you already have Chrome installed on your computer, you can speed up the process by not installing a new copy of Chrome on each install. To do so, add following two environment variables before installing or running above steps:
```bash
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
export PUPPETEER_EXECUTABLE_PATH="/usr/bin/google-chrome"
# replace "/usr/bin/google-chrome" with path to Chrome executable on your system.
# On MacOS, it's generally:
# "/Applications/Google Chrome.app/Contents/MacOS/Google chrome"
💖 Support ReSpec by becoming a sponsor via Open Collective. 💖
✨ View rendered version of this documentation at https://respec.org/docs/ ✨
- addSectionLinks
- authors
- caniuse
- edDraftURI
- editors
- favicon
- format (markdown)
- formerEditors
- github
- highlightVars
- isPreview
- license
- lint
- localBiblio
- logos
- maxTocLevel
- mdn
- modificationDate
- noTOC
- otherLinks
- pluralize
- postProcess
- preProcess
- previousDiffURI
- previousMaturity
- previousPublishDate
- prevRecShortname
- prevRecURI
-
processVersion(Deprecated) - publishDate
-
refNote(Deprecated) - shortName
- specStatus
- subjectPrefix
- subtitle
- testSuiteURI
- xref
- additionalCopyrightHolders
-
addPatentNote(Deprecated) - alternateFormats
- canonicalURI
- charterDisclosureURI
- copyrightStart
- crEnd
-
darkMode(deprecated, use dark mode) - doJsonLd
- errata
- group
- implementationReportURI
- lcEnd
- level
- noRecTrack
- prevED
- submissionCommentNumber
-
wg(Deprecated) -
wgId(Deprecated) -
wgPatentPolicy(Deprecated) -
wgPatentURI(Deprecated) - wgPublicList
-
wgURI(Deprecated)
a11y
check-punctuation
local-refs-exist
no-headingless-sections
no-http-props
no-unused-vars
no-unused-dfns
informative-dfn
privsec-section
wpt-tests-exist
Handled by ReSpec for you.
- data-abbr
-
data-cite(Not recommended) - data-dfn-for
- data-dfn-type
- data-format
- data-include-format
- data-include-replace
- data-include
- data-link-for
- data-link-type
- data-local-lt
- data-lt-no-plural
- data-lt-noDefault
- data-lt
- data-number
- data-oninclude
- data-sort
- data-tests
-
data-transform(Deprecated) - data-type
- dir
- lang