inst/doc/get-started.R

## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

library(linne)

## ---- echo = FALSE------------------------------------------------------------
cat(as.character(shiny::p("Hello Linne", id = "myId")))

## -----------------------------------------------------------------------------
sel_id("myId")

## -----------------------------------------------------------------------------
sel_tag("p")

## -----------------------------------------------------------------------------
Linne$
  new()$
  rule(
    sel_tag("p"),
    fontSize = 30,
    fontStyle = "italic",
    color = "darkblue"
  )$
  show_css()

Try the linne package in your browser

Any scripts or data that you put into this service are public.

linne documentation built on Jan. 8, 2021, 2:24 a.m.