-
-
Notifications
You must be signed in to change notification settings - Fork 414
static snapshots
Marcos Cáceres edited this page May 13, 2021
·
17 revisions
Open the ReSpec UI and select "Export...".
Screen shot of ReSpec UI
Select the format to export as.
ReSpec's supports various export formats
One off (downloads about 100mb)...
npx respec --src source.html --out index.htmlOr, to install ReSpec for repeated use:
npm install --global respecAnd then:
respec --src source.html --out index.htmlFor 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
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)
a11ycheck-punctuationlocal-refs-existno-headingless-sectionsno-http-propsno-unused-varsno-unused-dfnsinformative-dfnprivsec-sectionwpt-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