Returns the standard CodeMirror extension stack for an inline markdown editor:
basic editor behaviors, themed syntax highlighting (theme mode read from useThemeMode),
markdown parsing, and visual decorations.
Used by surfaces such as AgentProperties and MagazineProperties to render the
instructions field of an object as a small editable markdown block.
The memoization depends on primitive option values plus the extensions array reference,
so callers passing fresh option literals each render still hit the cache.
Returns the standard CodeMirror extension stack for an inline markdown editor: basic editor behaviors, themed syntax highlighting (theme mode read from useThemeMode), markdown parsing, and visual decorations.
Used by surfaces such as
AgentPropertiesandMagazinePropertiesto render theinstructionsfield of an object as a small editable markdown block.The memoization depends on primitive option values plus the
extensionsarray reference, so callers passing fresh option literals each render still hit the cache.