Skip to content

Create inline code block styling #5934

@bmuenzenmeyer

Description

@bmuenzenmeyer

Create a inline code <code/> styling using the new figma design (pagelink).

This isn't a new React component, just a globally styled HTML element we want to illustrate. The primary use case for this styling is `code` tags within rendered markdown/MDX files.

Read more about the Node.js Website redesign


Before You Start...


Details

image

image

Not sure where to start breaking down the figma? Read this short guide

There are 2 states to capture within styles and stories:

  • Light
  • Dark

Open Questions

Could we make this an InlineCodeblock component and then add it to an MDX provider? That might isolate markdown-driven use cases more, but at the cost of increased complexity. For now, let's show what an <code/> tag renders like. Perhaps what it looks like within <p> tag only?

Metadata

Metadata

Labels

good first issueIssues for newcomershacktoberfestThis Issue is meant for Hacktoberfest 2023website redesignIssue/PR part of the Node.js Website Redesign

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions