From 0f53e2e533e375d81e8802fa0f04a7becb909718 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 7 Oct 2026 12:39:14 +0000 Subject: [PATCH 1/2] docs: invoke plugin in `_tools/remark/plugins/remark-lint-html-section-structure` example Added the missing `remark().use( lint ).process( str, done )` call to the module-level JSDoc example in `lib/index.js`. The example previously defined `str` and `done` without ever running the plugin. Invoking `remark().use( )` in the module example is present in 93% of `_tools/remark/plugins` siblings (13/14). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01RNGgXLihP99pK9yerPgKRr --- .../plugins/remark-lint-html-section-structure/lib/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/node_modules/@stdlib/_tools/remark/plugins/remark-lint-html-section-structure/lib/index.js b/lib/node_modules/@stdlib/_tools/remark/plugins/remark-lint-html-section-structure/lib/index.js index 493beec0be5c..7c5c879d71b7 100644 --- a/lib/node_modules/@stdlib/_tools/remark/plugins/remark-lint-html-section-structure/lib/index.js +++ b/lib/node_modules/@stdlib/_tools/remark/plugins/remark-lint-html-section-structure/lib/index.js @@ -29,6 +29,8 @@ * * var str = '# Title\n\n
\n\n## Usage\n\n
'; * +* remark().use( lint ).process( str, done ); +* * function done( error, file ) { * var i; * if ( error ) { From 8138c3bc8a9da2d965debf9472a5ab4ad6979253 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 7 Oct 2026 12:39:15 +0000 Subject: [PATCH 2/2] docs: add missing `@private` tag in `_tools/remark/plugins/remark-svg-equations-to-file` Added the missing `@private` JSDoc tag to the internal `onWrite` callback in `lib/transformer.js`. Tagging every non-exported function `@private` is followed by 93% of `_tools/remark/plugins` siblings (13/14) and by every other internal function in the same file. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01RNGgXLihP99pK9yerPgKRr --- .../plugins/remark-svg-equations-to-file/lib/transformer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/node_modules/@stdlib/_tools/remark/plugins/remark-svg-equations-to-file/lib/transformer.js b/lib/node_modules/@stdlib/_tools/remark/plugins/remark-svg-equations-to-file/lib/transformer.js index a0752194cc7d..bdbdb4c950a0 100644 --- a/lib/node_modules/@stdlib/_tools/remark/plugins/remark-svg-equations-to-file/lib/transformer.js +++ b/lib/node_modules/@stdlib/_tools/remark/plugins/remark-svg-equations-to-file/lib/transformer.js @@ -179,6 +179,7 @@ function factory( opts ) { /** * Callback invoked upon writing an SVG to file. * + * @private * @param {(Error|null)} error - error object * @returns {void} */