PKM-er / obsidian-editing-toolbar

An obsidian toolbar plugin, modified from the Cmenu plugin
Mozilla Public License 2.0
829 stars 29 forks source link

增加 <div> 元素的提议 #111

Open nrjycyd opened 11 months ago

nrjycyd commented 11 months ago

在做笔记时,需要一些提示框的需求,类似notion和语雀中提供的功能,这些带有特定样式和内容的提示框,可以帮助笔记着更灵活的强调某些重要信息。不知道大佬在后续的更新中有没有相关的考虑

类似以下格式:

<div style="background-color: #FFFACD; padding: 10px; font-family: '微软雅黑', sans-serif; font-size: 1em;font-weight: normal; color: #000000;">
  🤚重要/提示
</div>

Snipaste_2023-10-11_11-23-37

cumany commented 9 months ago

可以考虑使用 quickadd 的捕获功能,自定义添加字符串,通过toolbar 添加命令