AntennaPod / AntennaPod/antennapod.github.io

Headings: automatically shift 1 down in content pages

Đang mở
#211 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
SCSS
Star
34
Fork
35
Merge trung bình
1 phút
Pull request đã merge (30 ngày)
1

Mô tả

**Short description**: There should always be max. 1 title with H1 level. However, at the level of (some) page source files, the highest level of heading is not the page title (which is in the front matter) but the titles within the page content. When editing the content it feels correct to start with the top level heading, but this will lead to undesired result. Therefore we should:
* automatically shift each & every title down one level (e.g. `#` in about.md becomes `##`) - if possible
* manually check all content such that headings start at the second level

**Location**: site-wide

**Why have this**: this enhances readabilty and (apparently) is important for accessability

**More info**:

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

Đánh giá

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

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.