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

Inline code block are not supported in docs #842

Open
adib-yg opened this issue Jan 17, 2024 · 2 comments
Open

Inline code block are not supported in docs #842

adib-yg opened this issue Jan 17, 2024 · 2 comments
Labels
type:bug bugsnax

Comments

@adib-yg
Copy link
Member

adib-yg commented Jan 17, 2024

`config.json` is a server configuration file

It's rendered as:

image

What I except:

image

@adib-yg adib-yg changed the title Inline code block are not supported in docs Inline code block ` are not supported in docs Jan 17, 2024
@adib-yg adib-yg changed the title Inline code block ` are not supported in docs Inline code block are not supported in docs Jan 17, 2024
@adib-yg adib-yg added the type:bug bugsnax label Jan 17, 2024
@adib-yg
Copy link
Member Author

adib-yg commented Feb 12, 2024

oh it's disabled for a reason. sad

/* Necessary to prevent overflow issues in flexbox. */
:not(pre) > code {
background-color: var(--ifm-code-background);
border-radius: var(--ifm-code-border-radius);
color: var(--ifm-code-color);
font-family: var(--ifm-font-family-monospace);
font-size: var(--ifm-code-font-size);
margin: 0;
padding: var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal);
}

@Southclaws
Copy link
Contributor

This can be resolved I just didn't get around to it. Forcing overflow via scroll requires the parent tree to have an explicit width somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug bugsnax
Projects
None yet
Development

No branches or pull requests

2 participants