Skip to content

when using double brackets for code , highlight doesn't workΒ #1236

@jjallaire

Description

@jjallaire

Discussed in #1228

Originally posted by ggous June 27, 2022
Hi,

If I use highlight style:

format:
  html:
    theme: cosmo
  pdf:
    include-before-body: 
        - colors.tex
    documentclass: scrreprt
    code-block-bg: true
    code-block-border-left: "#E9E9E9"
    keep-tex: true
    highlight-style: tango

and use double brackets for python code that I don't want to run:

{{python}}

then the highlight style doesn't work.

Is there any workaround for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions