Skip to content
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

feat: export custom Title component from MDX #420

Merged
merged 3 commits into from
Sep 16, 2019

Conversation

vpicone
Copy link
Collaborator

@vpicone vpicone commented Sep 12, 2019

closes #409

I think this stands to be a particularly powerful pattern for things like theming individual pages if we identify future components where we want to permit that sort of deviation.

@vercel
Copy link

vercel bot commented Sep 12, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://gatsby-theme-carbon-git-fork-vpicone-allow-custom-title.carbon-design-system.now.sh

@vpicone vpicone requested review from emyarod and alisonjoseph and removed request for alisonjoseph and emyarod September 12, 2019 16:19
@vpicone vpicone changed the title feat: export custom title components from MDX feat: export custom Title component from MDX Sep 12, 2019
Copy link
Member

@alisonjoseph alisonjoseph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -24,6 +24,8 @@
pages:
- title: Markdown
path: /components/markdown
- title: MDX
path: /components/MDX
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this make more sense under Guides in the navigation instead of Components?

Copy link
Member

@emyarod emyarod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

packages/example/src/pages/components/MDX.mdx Outdated Show resolved Hide resolved
Co-Authored-By: emyarod <emyarod@users.noreply.github.com>
@vpicone vpicone merged commit 7438608 into carbon-design-system:master Sep 16, 2019
@vpicone vpicone deleted the allow-custom-title branch September 16, 2019 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for choosing line break position in page-title
3 participants