Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
* @returns {string} substituted equation
*/
function substitute( tex ) {
tex = replace( tex, /%/g, '\\%' );
return replace( tex, /\\operatorname{([^}]*)}/g, '\\mathop{\\mathrm{$1}}' );

Check warning on line 50 in lib/node_modules/@stdlib/_tools/remark/plugins/remark-img-equations/lib/insert_equations.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "mathrm"
}


Expand Down