inst/extdata/show-example.md

title: 'Example of the show methods'

Links

Relative

Here are some relative links and anchor links.

Images

kittens are cute{alt='a random picture of a kitten'}

Lists

Code

Here is an example of the utils::strcapture() function

sourcepos <- c("2:1-2:33", "4:1-7:7")
pattern <- "([[:digit:]]+):([[:digit:]]+)-([[:digit:]]+):([[:digit:]]+)"
proto <- data.frame(
  linestart = integer(), colstart = integer(),
  lineend = integer(), colend = integer()
)
utils::strcapture(pattern, sourcepos, proto)

Math

Inline math can be written as $y = mx + b$ while block math should be:

$$ y = mx + b $$



ropenscilabs/tinkr documentation built on Feb. 24, 2025, 6:43 a.m.