Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ANSI escape codes showing on the website #25

Closed
IndrajeetPatil opened this issue Apr 20, 2022 · 8 comments
Closed

ANSI escape codes showing on the website #25

IndrajeetPatil opened this issue Apr 20, 2022 · 8 comments

Comments

@IndrajeetPatil
Copy link

As seen here: https://www.danieldsjoberg.com/starter/articles/create_project.html

Screenshot 2022-04-20 at 20 29 15

@ddsjoberg
Copy link
Owner

aiya! 20 minutes after a cran submission too!

thanks, i'll take a look and see what is happening.

@ddsjoberg
Copy link
Owner

it's looking fine for me locally. maybe just need to rebuild the README and push an updated pkgdown

image

also check to see what is going on with the CRAN website...i'll check back in a few hours...
image

@IndrajeetPatil
Copy link
Author

Probably of help here: r-lib/pkgdown#1843

@ddsjoberg
Copy link
Owner

@IndrajeetPatil you're a saint, thank you so much :)

@ddsjoberg
Copy link
Owner

oh no! I just went to add collapse = TRUE as the link indicates, but that is already set 😱 . Maybe is just build locally and push, it'll solve the problem for now.

@ddsjoberg
Copy link
Owner

i tried with the dev versions of both pkgdown and downlit, and no change.

I am just going to leave this open and worry about it another day 🤷🏼‍♂️

@IndrajeetPatil IndrajeetPatil changed the title Crayon highlighting not working as expected? ANSI escape codes showing on the website Jun 16, 2022
@IndrajeetPatil
Copy link
Author

Oh, I know how to solve this issue.

Set comment = "#>" here:

```{r, comment=""}
create_project(
path = project_path,
open = FALSE # don't open project in new RStudio session
)
```

ddsjoberg added a commit that referenced this issue Jun 17, 2022
@ddsjoberg
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants