Skip to content

Commit

Permalink
remove unused css class, add remark-lint-heading-increment to lint …
Browse files Browse the repository at this point in the history
…consistent heading increment in docs (#1681)
  • Loading branch information
dimaMachina committed Mar 31, 2024
1 parent 4b451a9 commit 262e7df
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
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 @@ -75,6 +75,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/nextra@3.0.0-alpha.22.patch
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

0 comments on commit 262e7df

Please sign in to comment.