Preview: title is duplicated
@jgclark 已经在做这个了。
开始于 2025年3月15日。
评估
这个 Issue 还没有评估数据。
描述
- Bug: When previewing (esp with frontmatter, e.g. live preview), it shows the title 3 times.
I think there are a few different things going on there:
a) it's adding title frontmatter under the properties. actual file looks like this:
- So that needs to be sorted out:
- My preference would be to not show frontmatter at all in a Preview (I think that's the default, just confirming)
- I would like to see the title as an H1 but with no # in front of it.
- To the extent there are "---" lines in the document, those should render as HR
- While you're in the code, I saw your note in the latest build:
Note: If and when Mermaid releases v12, you can search the plugin's
script.jsfile, and modify the line that includes
"https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs"
to be whatever the new URL is.
You could just import this as "latest" instead of 11:
https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.esm.min.mjs
And then you'd always be loading the latest minor or major release version
- 主要语言
- JavaScript
- 星标
- 204
- 派生
- 82
- 平均合并
- 22 小时 27 分钟
- 30 天内合并 PR
- 3
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NotePlan/plugins 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
-
bug
难度 4/5 3-5 天 新手友好度 48/100
-
难度 5/5 一周以上 新手友好度 35/100
-
bug
-
bug
难度 3/5 1-2 天 新手友好度 38/100
相似的 Issue
-
Bug
难度 2/5 1-3 小时 新手友好度 70/100
Automattic/safe-publish#594 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
dream-num/dsh-univer-office#104 ·
-
comp/dashboard invalid P3
难度 2/5 1-3 小时 新手友好度 70/100
NousResearch/hermes-agent#121143 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
avniproject/avni-webapp#1811 ·
-
area/auroraboot area/webui bug
难度 2/5 1-3 小时 新手友好度 75/100