Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

feat: Markdown extensions configurable in YAML

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
58/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, yaml
Lĩnh vực
backend, documentation

Hướng nghiên cứu

Start in Fanstatic/Helpers/SiteHelper.cs at the fixed UseAdvancedExtensions() pipeline, then inspect how fanstatic.yaml is read and the tests in Fanstatic.Test/. Use .TestSites/ to verify that disabling emojis leaves :smile: as text and that default output is unchanged; also test invalid names and document supported extensions. Run ./build.sh test and meet the stated coverage and CRAP thresholds.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

c:content good first issue p:low size:S t:feature

Part of the Phase 3 epic (#33).

Current State

The Markdig pipeline is fixed to UseAdvancedExtensions() (Fanstatic/Helpers/SiteHelper.cs:18-20) for every
site.

Tasks:
  • Markdown: section in fanstatic.yaml, e.g.
    Markdown: { Extensions: [pipetables, footnotes, emojis, tasklists, autoidentifiers, smartypants] };
    default = today's advanced set
  • Build the pipeline once per site from the config (needed by the render hooks issues too)
  • Unknown extension name: error listing the valid names
  • Docs page listing the supported names

Tests live in Fanstatic.Test/ (xUnit + NSubstitute); fixture sites in .TestSites/. Run ./build.sh test; new/changed methods need CRAP ≤ 15 and ≥ 75 % line coverage.

Acceptance Criteria:
  • Disabling emojis leaves :smile: as text on a fixture site; default output unchanged.
Related:
  • #33 (Phase 3 epic, parent)
Ngôn ngữ chính
C#
Star
1
Fork
0
Merge trung bình
10 giờ 23 phút
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

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 MASS4ORG/Fanstatic

Tất cả issue của MASS4ORG/Fanstatic

Issue tương tự

Thêm issue về C#

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.