Skip to content

Line emphasis on dark theme hides the line content due to wrong highlight color #1300

Open
@zimnx

Description

@zimnx

When emphasize-lines option is used in code-block, color of highlight hides the content of a line on dark theme.
Example:

:::{code-block} bash
:linenos:
:emphasize-lines: 7

kubectl apply --server-side -f=<<EOF
apiVersion: v1
kind: ConfigMap
metadata:
  name: scylladb-config
data:
  scylla.yaml: |
    authenticator: PasswordAuthenticator
    authorizer: CassandraAuthorizer
    # Other options
EOF
:::

Looks like the following:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions