Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Preview: title is duplicated

オープン
#629 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@jgclark がすでに取り組んでいます。

2025年3月15日 から。

評価

この issue はまだ評価されていません。

説明

bug
  1. Bug: When previewing (esp with frontmatter, e.g. live preview), it shows the title 3 times.

Image

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:

Image

  • 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
  1. 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.js file, 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分
マージ済み PR(30日)
3

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NotePlan/plugins のほかの issue

NotePlan/plugins の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。