Pierre Lairez
2024-10-10 0d1f15d37cf3ceeb6465d7f102fc49bc33933450
refs
author Pierre Lairez <lairez@users.noreply.github.com>
Thursday, October 10, 2024 11:15 +0000
committer GitHub <noreply@github.com>
Thursday, October 10, 2024 11:15 +0000
commit0d1f15d37cf3ceeb6465d7f102fc49bc33933450
tree 10d34b85ed8e1422515ca2a773ad6a04c4ad60c4 tree | zip | gz
parent 11c23a137af9f7f310311e61a34f70d1f40c463b view | diff
feat(ofm): Allow for dashes in custom callout label (#1493)

* [OFM] Allow for dashes in custom callout label

For compatibility with Obsidian's behavior, a custom callout like
[!see-also] is possible. Previously, this was parsed by Quartz as a
callout “see” with metadata “-also”. Instead, this is should be a
callout “see-also” with title “See also” (capitalization + replace
dashes by spaces).

* prettier
1 files modified
6 ■■■■■ changed files
quartz/plugins/transformers/ofm.ts 6 ●●●●● diff | view | raw | blame | history