Frontmatter
| id | 9506 |
| title | Improve inline code styling within h1 tags in Markdown component |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Mar 18, 2026, 10:53 AM |
| updatedAt | Mar 18, 2026, 10:55 AM |
| githubUrl | https://github.com/neomjs/neo/issues/9506 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Mar 18, 2026, 10:55 AM |

When using an inline code block inside an
h1tag within theMarkdowncomponent for the first time, the default font size is too large (1em) and inherited styling is missing, making it visually overwhelming compared to the heading text.This issue implements an enhancement to scale the code font size down to
.8emand inheritfont-familyandfont-weight, while preserving the theme's specific code block text color for contrast (similar to the existingh2andh3rules).