Templating issue - code fences are getting wiped out

Đang mở
#387 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@mikeerickson đang làm issue này rồi.

Từ ngày 10/1/2023.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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

Ngôn ngữ chính
JavaScript
Star
204
Fork
82
Merge trung bình
22 giờ 27 phút
Pull request đã merge (30 ngày)
3

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NotePlan/plugins

Tất cả issue của NotePlan/plugins

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.