node/test/doctool
Antoine du Hamel 2e1e74e9f8 tools,doc: add support for several flavors of JS code snippets
Enable code example using both modern ESM syntax and legacy CJS syntax.
It adds a toggle on the web interface to let users switch from one
JavaScript flavor to the other.

PR-URL: https://github.com/nodejs/node/pull/37162
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2021-03-06 16:13:57 +01:00
..
test-apilinks.js
test-doctool-html.js tools,doc: add support for several flavors of JS code snippets 2021-03-06 16:13:57 +01:00
test-doctool-json.js test,doc,lib: adjust object literal newlines for lint rule 2021-01-26 16:49:18 -08:00
test-doctool-versions.js test: fix tool path in test-doctool-versions.js 2020-04-05 21:18:31 +02:00
test-local-md-file-reference-regex.js doc: use .md extension for internal links 2020-10-01 06:19:12 -07:00
test-make-doc.js
testcfg.py