如何在 R shiny 应用程序中调整 URL 的字体?

How to adjust the font of an URL in an R shiny app?

我使用以下代码在我闪亮的应用程序中创建了一个 URL,以便在单击 link

时打开 google
output$Reverse<- renderUI({
   tags$a(href="www.google.com", "Search") })

如何更改应用程序中单词搜索的字体大小和颜色。

我请求有人帮助我。

只需使用 css:

向 a-tag 添加样式参数
library(shiny)

ui <- fluidPage(
  uiOutput("Reverse")
)

server <- function(input, output, session) {
  output$Reverse<- renderUI({
    tags$a(href="http://www.google.com", "Search", style = "font-size: 200px; color: red;")
    })
}

shinyApp(ui, server)