Templating issue - code fences are getting wiped out

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

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

2023年1月10日 から。

評価

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

説明

bug P-7

As reported in this, thread. He is seeing two issues:

) the well-known bug related to --- being replaced with five stars. Minimally, this should only replace frontmatter at the front of the file. Not globally, in the middle of lines.
2) code fence markers in a template are being completely wiped out by the template rendering.

https://discord.com/channels/763107030223290449/1043533276503080981/1062448128093065318

Here's a test case template which displays both errors:

https://discord.com/channels/763107030223290449/1043533276503080981/1062221709693956127

and the text which should render if it worked correctly (for the test case) -- assuming 2023, and 01 were entered for the prompts:

https://discord.com/channels/763107030223290449/1043533276503080981/1062225085664088134

cc: @antonyskylar

主要言語
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 を短くまとめたダイジェスト。