mirror of
https://github.com/prdlk/leetcode.git
synced 2026-11-02 13:12:44 +00:00
docs(docs): add wrapper badge component, make backlinks collapsible, and include solution code for Gas Station problem
This commit is contained in:
1 parent
2f94b02e15
commit
d2c645bef8
4 files changed
+49
-20
No files matched your search
@@ -9,10 +9,11 @@ export default defineComponents({
|
||||
mdx: {
|
||||
Carousel: "./components/Carousel.astro",
|
||||
CarouselImage: "./components/CarouselImage.astro",
|
||||
// MDX's own content wrapper: problem pages' topic + explanation badges, from
|
||||
// `topics:` / `video:` frontmatter, between the description and the body.
|
||||
wrapper: "./components/ProblemBadges.astro",
|
||||
},
|
||||
layout: {
|
||||
// Problem pages' topic + explanation badges, from `topics:` / `video:` frontmatter.
|
||||
PageHeader: "./components/ProblemBadges.astro",
|
||||
// Topic landing + guide pages' "what links here": every problem pointing at the page.
|
||||
PageFooter: "./components/BacklinksList.astro",
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user