Skip to content

remove unused css class, add remark-lint-heading-increment to lint consistent heading increment in docs #1681

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .remarkrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ export default {
plugins: [
"frontmatter", // Required to parse frontmatter for linting
"remark-lint-first-heading-level",
"remark-lint-heading-increment",
],
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"prettier": "3.2.5",
"remark-frontmatter": "5.0.0",
"remark-lint-first-heading-level": "3.1.2",
"remark-lint-heading-increment": "3.1.2",
"typescript": "^5.4.3"
},
"pnpm": {
Expand Down
Binary file modified patches/[email protected]
Binary file not shown.
21 changes: 17 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/index-page/without-version.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function WithoutVersion() {
</div>
<div
className={clsx(
"window type-evolution mx-auto",
"type-evolution mx-auto",
"[&_div.nextra-code]:h-full",
"[&_pre]:ring-0 border rounded-md border-gray-300 dark:border-neutral-700 [&_pre]:rounded-none [&_pre]:h-full",
// Set background as nextra code block bg color
Expand Down