Closed r4ai closed 1 month ago
Latest commit: 63a70217b73959d1e9138c594c9b414e2ed99d59
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
All modified and coverable lines are covered by tests :white_check_mark:
Files | Coverage Δ | |
---|---|---|
packages/remark-callout/src/plugin.ts | 98.14% <100.00%> (+0.14%) |
:arrow_up: |
close #133
Add
options.titleInner
to specify the HTML element that wraps the text of the callout title.This option is set by default as follows:
options.icon
oroptions.foldIcon
, the text will be wrapped in an element with{tagName: "div", properties: {dataCalloutTitleInner: true}}
.Following is an example output of callout with icon: