Skip to content

Peculiar styling of messages in example output #79

@jennybc

Description

@jennybc

I can't figure out how downlit is deciding to show some messages in bold and not others.

I'm seeing this in the googlesheets4 examples. Here are few examples as of tidyverse/googlesheets4@9309c2a

Probably relevant: googlesheets4 is using cli (therefore rlang::inform()) for messages now.

The basic pattern is: the first googlesheets4 message is bold, but no others.

Messages originating elsewhere, presumably coming via message() are ?always? bold. ("Files trashed..." is always coming from googledrive, for example).

Below is a sampler.


https://googlesheets4.tidyverse.org/reference/range_read.html#examples

tidyverse/googlesheets4@9309c2a#diff-c089033b92eaa2e50242f2188feedb0d449c5fd93c1765301867ee1c9bb1ae39

Screen Shot 2021-03-08 at 4 14 09 PM


https://googlesheets4.tidyverse.org/reference/range_speedread.html#examples

tidyverse/googlesheets4@9309c2a#diff-c755ed40978311fdb955d656db19f8477496e343ec19095b0cfcf64716ca26ec

Screen Shot 2021-03-08 at 4 16 25 PM


https://googlesheets4.tidyverse.org/reference/sheet_write.html

tidyverse/googlesheets4@9309c2a#diff-19e7740a2d283dc1311c374e0bb4b937e9a904f3dbef7acb84432b9053abff3f

Screen Shot 2021-03-08 at 4 19 25 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions