Skip to main content

cursor_mdc_document

Function cursor_mdc_document 

Source
pub fn cursor_mdc_document(body: &str) -> String
Expand description

Wrap a rendered rules body in the Cursor mdc frontmatter. The description stays profile-neutral: whether native tools are replaced (Dedicated) or hook-covered (GL #1153) is stated by the body itself.