Commit b0d5eecd authored by Rich Trott's avatar Rich Trott Committed by Node.js GitHub Bot
Browse files

tools,doc: fix misrendering of consecutive JS blocks

Our markdown-to-html tool was assuming that any consecutive JS blocks
were ESM vs CJS alternatives, but that is not always the case, resulting
in both a confusing interface and invalid HTML.

PR-URL: https://github.com/nodejs/node/pull/40146


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarTobias Nießen <tniessen@tnie.de>
Reviewed-By: default avatarAntoine du Hamel <duhamelantoine1995@gmail.com>
parent 0bafe6dd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment