You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,22 @@ You might change `github-colors-dark-media.css` to `github-colors-dark-class.css
95
95
96
96
Refer to the [source code](./styles) for more details.
97
97
98
+
### Customization
99
+
100
+
In order to also support [Obsidian callouts syntax](https://help.obsidian.md/Editing+and+formatting/Callouts) it is possible to allow any type of markers with the following setting:
101
+
102
+
```js
103
+
md.use(MarkdownItGitHubAlerts, {
104
+
markers:'*'
105
+
})
106
+
```
107
+
Alternative titles are also supported, by appending it to the marker like this:
108
+
109
+
```markdown
110
+
> [!note] Nota bene
111
+
> The custom title will replace the regular title.
0 commit comments