I have a Discourse site, and my reprex images are posting fine there, so I wonder whether the admins here just need to change a Discourse setting.
Here's an image (from here) that works on mine:
library(tidyverse)
tibble(x = 1:5, y = c('5', '4', '3', '2', '1')) |>
ggplot(aes(x, y)) +
geom_point() +
scale_x_continuous(
breaks = c(1, 3, 7), # an example of manipulating the breaks how you choose
expand = expansion(mult = c(0.5, 0.5))
)
Created on 2023-10-26 with reprex v2.0.2