Hello, R Community!
I am new to R and working with R Markdown to create a project. I have been trying to design a course card, and my goal is to make the entire card clickable, without resorting to HTML.
I want to maintain consistency with R Markdown's syntax, so I am avoiding HTML tags like <a>
in my code. However, despite using the R Markdown link syntax [Text](URL)
, I am not achieving the desired result.
Here is the code snippet I’m working with:
:::{class="w-1/3 bg-gray-100 p-4 rounded-lg shadow-md hover:shadow-xl transition duration-300 text-black cursor-pointer text-3x h-64"}
Learning Websites
- Description: Create Beautiful Websites with R Markdown.
- Duration: 4 weeks
- Price: $90
:::
I've tried placing the [Text](URL)
link in various positions within the code block, but nothing seems to make the entire card clickable.
Could someone guide me on how to achieve this functionality in R Markdown, or suggest a workaround?
Any help would be much appreciated! Thank you!