Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Oct 22, 2024
1 parent 1e6e0a6 commit aeaf447
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/codemirror/codemirror.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -355,4 +355,11 @@ function s4() {
.substring(1);
}

/**
* Overrides the css of highlighted events. Make sure to use single quotes!
* @name markcss
* @example
* note("c a f e")
* .markcss('text-decoration:underline')
*/
export const markcss = registerControl('markcss');
4 changes: 4 additions & 0 deletions website/src/pages/learn/visual-feedback.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,7 @@ What follows is the API doc of all the options you can pass:
## Pitchwheel

<JsDoc client:idle name="pitchwheel" h={0} />

## markcss

<JsDoc client:idle name="markcss" h={0} />

0 comments on commit aeaf447

Please sign in to comment.