Skip to content

Use markdown for italic/bold in titles #2743

@msberends

Description

@msberends

Currently, it is quite cumbersome to print parts of labels (like title, subtitle) as italic or bold. For my field of medical microbiology this is quite important; we write names of microorganisms italic, so a title could be "Resistance of Amoxicillin in E. coli"

We now use combinations of expression and bquote to make it possible to parametrise it, but that's really hard and error prone. Could you support anything like we're used to from RMarkdown?

ggplot(data, aes(x, y)) +
  geom_anything +
  labs(title = "Resistance of Amoxicillin in *E. coli*")

I'm not the only one:

Without really convenient solutions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions