Skip to content

docs: include documentation of new aspect of code-block-bg #1550

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/formats/html.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@
},
{
"name": "code-block-bg",
"description": "Specifies to apply a background color on code blocks. Provide a hex color to specify that the background color is\nenabled as well as the color of the background.\n"
"description": "Specifies to apply a background color on code blocks. Provide a hex color to specify that the background color is\nenabled as well as the color of the background.\n\nFor PDF output, if you specify `false` and `code-block-border-left` is `false` or not set, the code block is not enclosed in a floating LaTeX environment. This is especially useful for long code blocks nested inside a callout block, as it allows correct page breaks to occur. Line numbering and annotations are not affected.\n"
},
{
"name": "highlight-style",
Expand Down