Alternative to github flavored Alerts

Currently, my project uses github flavored markdown alerts to display alert sections to the end user, unfortunately these alerts are not portable, and since I use the same Rmd files to generate the README on my github project's home page and in the package html vignettes I need to find a new way to discplay alerts that works with both rmarkdown::html_vignettes and github flavored markdown. I used to just embed html code in my Rmd files but it seems that github has blocked md files from doing that. So is there any other option?

1 Like