selector
The elements the client script enhances: copy
buttons, code tabs, the lightbox and the rest. The stylesheet always targets
.jaamd-content, whatever the selector.
| Type | Default |
|---|---|
string |
".jaamd-content" |
Use cases
Content wrapped in <MarkdownContent>
Leave it unset: the component carries .jaamd-content.
A wrapper of your own
jaamd({ selector: '[data-md]' })
The script enhances <div data-md>; the styles are yours to supply.