MCPcopy Create free account
hub / github.com/electronstudio/raylib-python-cffi / _highlightText

Function _highlightText

docs/_static/sphinx_highlight.js:58–64  ·  view source on GitHub ↗
(thisNode, text, className)

Source from the content-addressed store, hash-verified

56 }
57};
58const _highlightText = (thisNode, text, className) => {
59 let addItems = [];
60 _highlight(thisNode, addItems, text, className);
61 addItems.forEach((obj) =>
62 obj.parent.insertAdjacentElement("beforebegin", obj.target),
63 );
64};
65
66/**
67 * Small JavaScript module for the documentation.

Callers 2

_displayItemFunction · 0.85

Calls 1

_highlightFunction · 0.85

Tested by

no test coverage detected