Refactor the render function to use a new rehype plugin named rawPlugin which is returned from a new function getRawPlugin that follows the same patterns from getMovePlugin in move-style.ts.
Follow these rules:
- Do not under any circumstances modify a
package.json file
- Do not create regular expressions unless absolutely necessary and all other options have been exhausted
- Do not create new string manipulations unless absolutely necessary and all other options have been exhausted
- Do not over-engineer
- Do not modify existing snapshots
- Do not modify HTML comments, even if they look incorrect at a glance
- Do choose the MINIMAL path instead of the elaborate path-
- Do keep things simple
- Do run tests to make sure your changes do not break existing tests or snapshots
Refactor the render function to use a new rehype plugin named
rawPluginwhich is returned from a new functiongetRawPluginthat follows the same patterns fromgetMovePlugininmove-style.ts.Follow these rules:
package.jsonfile